# GCC compatibility

This was SVN commit r3788.
This commit is contained in:
Ykkrosh 2006-04-20 06:53:22 +00:00
parent 6792e95517
commit 8f02c6f10d
2 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,7 @@ and 'variables' (dependent on the type passed with "translate(...) <<").
ERROR_SUBGROUP(I18n, Script); ERROR_SUBGROUP(I18n, Script);
ERROR_TYPE(I18n_Script, SetupFailed); ERROR_TYPE(I18n_Script, SetupFailed);
#ifdef OS_WIN // the Windows JS libraries are using '_W64 long' to avoid MSVC warnings #if OS_WIN // the Windows JS libraries are using '_W64 long' to avoid MSVC warnings
typedef _W64 long jsval; typedef _W64 long jsval;
#else #else
typedef long jsval; typedef long jsval;

View File

@ -23,6 +23,8 @@
#ifndef ALLOCATORS_H__ #ifndef ALLOCATORS_H__
#define ALLOCATORS_H__ #define ALLOCATORS_H__
#include <map>
#include "lib/types.h" #include "lib/types.h"
#include "lib/posix.h" // PROT_* constants for da_set_prot #include "lib/posix.h" // PROT_* constants for da_set_prot