]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/intf.h
Be sure to declare NSInteger if it isn't present
[vlc] / modules / gui / macosx / intf.h
index e9ec5604e7e97f19e6c7e173b4d1b2419ede6356..c37ebb1e76510783af010afd52c3c84fd0ef7369 100644 (file)
 
 #include <Cocoa/Cocoa.h>
 
+/* this was introduced in Darwin 9. We need to declare it to prevent both
+ * compilation warnings and errors */
+#ifndef NSInteger
+#define NSInteger int
+#endif
+
 /*****************************************************************************
  * Local prototypes.
  *****************************************************************************/