Commit b289ad27 authored by erikd's avatar erikd
Browse files

Minor fixes to allow cross compiling from Linux to windows and running the tests under Wine.

svn path=/trunk/ogg/; revision=14725
parent 15f1bbe9
......@@ -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;
......
......@@ -17,7 +17,9 @@ test_bitwise_CFLAGS = -D_V_SELFTEST
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@"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment