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:
@@ -104,3 +104,9 @@ ifeq ($(OS),linux)
|
||||
CPPFLAGS += -I/usr/src/MesaCVS/include
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_QUICKTIME),true)
|
||||
CPPFLAGS += -I../quicktime
|
||||
CPPFLAGS += -DWITH_QUICKTIME
|
||||
endif
|
||||
|
||||
|
@@ -51,10 +51,10 @@
|
||||
#ifdef WITH_QUICKTIME
|
||||
#ifdef _WIN32
|
||||
#include <QTML.h>
|
||||
#endif /* _WIN32 */
|
||||
#if defined (_WIN32) || defined (__APPLE__)
|
||||
#include <Movies.h>
|
||||
#endif /* _WIN32 || __APPLE__ */
|
||||
#elif defined(__APPLE__)
|
||||
#include <QuickTime/Movies.h>
|
||||
#endif /* __APPLE__ */
|
||||
#endif /* WITH_QUICKTIME */
|
||||
|
||||
#include "PIL_time.h"
|
||||
|
@@ -120,10 +120,11 @@
|
||||
#include "quicktime_export.h"
|
||||
#ifdef _WIN32
|
||||
#include <QTML.h>
|
||||
#endif /* _WIN32 */
|
||||
#if defined (_WIN32) || defined (__APPLE__)
|
||||
#include <Movies.h>
|
||||
#endif /* _WIN32 || __APPLE__ */
|
||||
#elif defined (__APPLE__)
|
||||
#undef NDEBUG
|
||||
#include <QuickTime/Movies.h>
|
||||
#endif /* __APPLE__ */
|
||||
#endif /* WITH_QUICKTIME */
|
||||
|
||||
/***/
|
||||
|
Reference in New Issue
Block a user