< prev index next >
src/java.desktop/share/native/libjsound/SoundDefs.h
Print this page
rev 59106 : imported patch client
@@ -27,14 +27,13 @@
#define __SOUNDDEFS_INCLUDED__
// types for X_PLATFORM
#define X_WINDOWS 1
-#define X_SOLARIS 2
-#define X_LINUX 3
-#define X_BSD 4
-#define X_MACOSX 5
+#define X_LINUX 2
+#define X_BSD 3
+#define X_MACOSX 4
// **********************************
// Make sure you set X_PLATFORM defines correctly.
// Everything depends upon this flag being setup correctly.
// **********************************
@@ -43,11 +42,11 @@
#error "You need to define X_PLATFORM outside of the source. Use the types above."
#endif
// following is needed for _LP64
-#if ((X_PLATFORM == X_SOLARIS) || (X_PLATFORM == X_LINUX) || (X_PLATFORM == X_MACOSX))
+#if ((X_PLATFORM == X_LINUX) || (X_PLATFORM == X_MACOSX))
#include <sys/types.h>
#endif
#if X_PLATFORM == X_WINDOWS
#ifndef WIN32_LEAN_AND_MEAN
@@ -113,15 +112,10 @@
#include <stdlib.h>
#define INLINE _inline
#endif
-#if X_PLATFORM == X_SOLARIS
-#define INLINE
-#endif
-
-
#if X_PLATFORM == X_LINUX
#define INLINE inline
#endif
< prev index next >