Linux: fix compilation

This commit is contained in:
Elias Naur 2004-11-14 11:39:54 +00:00
parent 426ec81c3c
commit 8ee59e83fb
4 changed files with 6 additions and 3 deletions

View File

@ -63,4 +63,5 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBColorBufferFloat_initNativeStubs
}
#ifdef __cplusplus
}
#endif
#endif

View File

@ -41,6 +41,8 @@
#define _COMMON_TOOLS_H
#include <jni.h>
#include <string.h>
#include <stdlib.h>
#include "org_lwjgl_Sys.h"
#define EVENT_BUFFER_SIZE 256

View File

@ -120,4 +120,5 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTPalettedTexture_initNativeStubs(
}
#ifdef __cplusplus
}
#endif
#endif

View File

@ -142,7 +142,6 @@ JNIEXPORT void JNICALL Java_org_lwjgl_Sys_nAlert(JNIEnv * env, jclass clazz, jst
{
char * eMessageText = GetStringNativeChars(env, message);
char * cTitleBarText = GetStringNativeChars(env, title);
MessageBox(getCurrentHWND(), eMessageText, cTitleBarText, MB_OK | MB_TOPMOST);
printfDebug("*** Alert ***%s\n%s\n", cTitleBarText, eMessageText);