diff options
Diffstat (limited to 'include/Sci_Position.h')
-rw-r--r-- | include/Sci_Position.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/Sci_Position.h b/include/Sci_Position.h index 1360b2dce..abd0f3408 100644 --- a/include/Sci_Position.h +++ b/include/Sci_Position.h @@ -20,4 +20,10 @@ typedef size_t Sci_PositionU; // For Sci_CharacterRange which is defined as long to be compatible with Win32 CHARRANGE typedef long Sci_PositionCR; +#ifdef _WIN32 + #define SCI_METHOD __stdcall +#else + #define SCI_METHOD +#endif + #endif |