fun with quicktime:

#include <QuickTime/Movies.h> instead of #include <Movies.h> on OS X to
avoid having to specify the full path to the QT headers in the Makefiles

#undef NDEBUG on OS X to avoid errors about ID being declared twice

enable support for QuickTime in the original Makefiles on OS X
This commit is contained in:
Stefan Gartner
2003-05-02 13:36:56 +00:00
parent 75014f9f64
commit 723b84c79c
16 changed files with 162 additions and 24 deletions

View File

@@ -60,3 +60,7 @@ CPPFLAGS += -I../kernel/gen_system
CPPFLAGS += -I../kernel/gen_messaging
CPPFLAGS += -I$(NAN_BLENKEY)/include
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
ifeq ($(WITH_QUICKTIME), true)
CPPFLAGS += -I$(NAN_QUICKTIME)/include -DWITH_QUICKTIME
endif

View File

@@ -95,14 +95,13 @@
#endif
#ifdef WITH_QUICKTIME
# ifdef _WIN32
# include <QTML.h>
# endif /* _WIN32 */
# if defined (_WIN32) || defined (__APPLE__)
# include <Movies.h>
# elif defined (__linux__)
# include <quicktime/lqt.h>
# endif /* __linux__ */
#ifdef _WIN32
#include <QTML.h>
#include <Movies.h>
#elif defined(__APPLE__)
#undef NDEBUG
#include <QuickTime/Movies.h>
#endif /* __APPLE__ */
#endif /* WITH_QUICKTIME */
// from buildinfo.c