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:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user