< prev index next >
src/java.desktop/share/native/libjsound/SoundDefs.h
Print this page
rev 59106 : imported patch client
*** 27,40 ****
#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
// **********************************
// Make sure you set X_PLATFORM defines correctly.
// Everything depends upon this flag being setup correctly.
// **********************************
--- 27,39 ----
#define __SOUNDDEFS_INCLUDED__
// types for X_PLATFORM
#define X_WINDOWS 1
! #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,53 ****
#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))
#include <sys/types.h>
#endif
#if X_PLATFORM == X_WINDOWS
#ifndef WIN32_LEAN_AND_MEAN
--- 42,52 ----
#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_LINUX) || (X_PLATFORM == X_MACOSX))
#include <sys/types.h>
#endif
#if X_PLATFORM == X_WINDOWS
#ifndef WIN32_LEAN_AND_MEAN
*** 113,127 ****
#include <stdlib.h>
#define INLINE _inline
#endif
- #if X_PLATFORM == X_SOLARIS
- #define INLINE
- #endif
-
-
#if X_PLATFORM == X_LINUX
#define INLINE inline
#endif
--- 112,121 ----
< prev index next >