[xiph-commits] r14725 - in trunk/ogg: include/ogg src

erikd at svn.xiph.org erikd at svn.xiph.org
Sun Apr 13 05:26:41 PDT 2008


Author: erikd
Date: 2008-04-13 05:26:40 -0700 (Sun, 13 Apr 2008)
New Revision: 14725

Modified:
   trunk/ogg/include/ogg/os_types.h
   trunk/ogg/src/Makefile.am
Log:
Minor fixes to allow cross compiling from Linux to windows and running the tests under Wine.

Modified: trunk/ogg/include/ogg/os_types.h
===================================================================
--- trunk/ogg/include/ogg/os_types.h	2008-04-13 11:12:47 UTC (rev 14724)
+++ trunk/ogg/include/ogg/os_types.h	2008-04-13 12:26:40 UTC (rev 14725)
@@ -35,6 +35,7 @@
      typedef int64_t ogg_int64_t;
      typedef uint64_t ogg_uint64_t;
 #  elif defined(__MINGW32__)
+#    include <sys/types.h>
      typedef short ogg_int16_t;
      typedef unsigned short ogg_uint16_t;
      typedef int ogg_int32_t;

Modified: trunk/ogg/src/Makefile.am
===================================================================
--- trunk/ogg/src/Makefile.am	2008-04-13 11:12:47 UTC (rev 14724)
+++ trunk/ogg/src/Makefile.am	2008-04-13 12:26:40 UTC (rev 14725)
@@ -17,7 +17,9 @@
 test_framing_SOURCES = framing.c
 test_framing_CFLAGS = -D_V_SELFTEST
 
-TESTS = test_framing test_bitwise
+check: $(noinst_PROGRAMS)
+	./test_bitwise$(EXEEXT)
+	./test_framing$(EXEEXT)
 
 debug:
 	$(MAKE) all CFLAGS="@DEBUG@"



More information about the commits mailing list