From 7d685049b8c0b0c1cbdaf2aa43ece8e955b8d81e Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 7 Apr 2010 23:07:40 +0000 Subject: Made Scintilla.h compatible with the C language when stdbool.h not included. --- include/Scintilla.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index 7730893d6..b91c78c2a 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -11,18 +11,14 @@ #ifndef SCINTILLA_H #define SCINTILLA_H -#if LCCWIN -typedef BOOL bool; -#endif - #ifdef __cplusplus extern "C" { #endif #if defined(_WIN32) /* Return false on failure: */ -bool Scintilla_RegisterClasses(void *hInstance); -bool Scintilla_ReleaseResources(); +int Scintilla_RegisterClasses(void *hInstance); +int Scintilla_ReleaseResources(); #endif int Scintilla_LinkLexers(); -- cgit v1.2.3