New getPlatform() method added

This commit is contained in:
Caspian Rychlik-Prince 2003-03-21 16:57:56 +00:00
parent c1fd8957df
commit 8575ae0496
2 changed files with 1 additions and 16 deletions

View File

@ -112,7 +112,7 @@ public final class Sys {
/** GLX (Linux/Unix) platform */
public static final int PLATFORM_GLX = 1;
/** Apply platform */
/** MacOSX platform */
public static final int PLATFORM_AGL = 2;
/**

View File

@ -49,21 +49,6 @@ __int64 hires_timer_freq; // Hires timer frequency
__int64 hires_timer_start; // Hires timer start
__int64 hires_timer; // Hires timer current time
// Platform
#ifdef _WIN32
#define PLATFORM 0
#else
#ifdef _X11
#define PLATFORM 1
#else
#ifdef APPLE
#define PLATFORM 2
#else
#error Unsupported Platform!
#endif
#endif
/*
* Class: org_lwjgl_Sys
* Method: getDirectBufferAddress