[PATCH] Fix compiling svn r690 on mac os x 10.4


#1

Hi,

Compiling fails on mac os x 10.4 tiger due to the new integer types introduced with Leopard, and used in Juce.

This is easily fixed with:

[code]Index: build/macosx/platform_specific_code/juce_mac_NativeIncludes.h

— build/macosx/platform_specific_code/juce_mac_NativeIncludes.h (révision 690)
+++ build/macosx/platform_specific_code/juce_mac_NativeIncludes.h (copie de travail)
@@ -67,6 +67,10 @@

#if MACOS_10_4_OR_EARLIER
#include <GLUT/glut.h>
+

  • // New Leopard integer types:
  • #define NSInteger int
  • #define NSUInteger unsigned int
    #endif

#endif // JUCE_MAC_NATIVEINCLUDES_JUCEHEADER
[/code]


#2

ah yes, thanks for reminding me about those!