]> git.sesse.net Git - vlc/blobdiff - include/vlc_common.h
Allowed to use mp2/mp3 to specify layer 2/3 for mpeg audio encoder.
[vlc] / include / vlc_common.h
index 320d44565db30cb9c7ac8c94dfd2c186ce205636..791762fabdbb36d72226c6502394e5b3b829e53d 100644 (file)
@@ -76,6 +76,8 @@
  #define PRIo64 "llo"
  #undef PRIx64
  #define PRIx64 "llx"
+ #define snprintf __mingw_snprintf
+ #define vsnprintf __mingw_vsnprintf
 #endif
 
 /* Function attributes for compiler warnings */
@@ -476,6 +478,13 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *,      /* variable's object */
 # include <windows.h>
 #endif
 
+#ifdef __OS2__
+#   define OS2EMX_PLAIN_CHAR
+#   define INCL_BASE
+#   define INCL_PM
+#   include <os2.h>
+#endif
+
 #include "vlc_mtime.h"
 #include "vlc_threads.h"