From 7711afa7a85348e2a0befa2a1513a3e696377bf5 Mon Sep 17 00:00:00 2001 From: Pavol Marko Date: Fri, 23 Dec 2005 23:32:21 +0000 Subject: [PATCH] Uh. --HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40166 --- sourcehook/generate/sourcehook.h | 4 ++++ sourcehook/generate/sourcehook.hxx | 4 ++++ sourcehook/sourcehook.h | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/sourcehook/generate/sourcehook.h b/sourcehook/generate/sourcehook.h index 1ba3e43..9d82f2a 100644 --- a/sourcehook/generate/sourcehook.h +++ b/sourcehook/generate/sourcehook.h @@ -86,6 +86,10 @@ # define vsnprintf _vsnprintf #endif +#if SH_SYS != SH_SYS_WIN32 +# include +#endif + #define SH_PTRSIZE sizeof(void*) #include "FastDelegate.h" diff --git a/sourcehook/generate/sourcehook.hxx b/sourcehook/generate/sourcehook.hxx index d47a706..6a7fddb 100755 --- a/sourcehook/generate/sourcehook.hxx +++ b/sourcehook/generate/sourcehook.hxx @@ -86,6 +86,10 @@ # define vsnprintf _vsnprintf #endif +#if SH_SYS != SH_SYS_WIN32 +# include +#endif + #define SH_PTRSIZE sizeof(void*) #include "FastDelegate.h" diff --git a/sourcehook/sourcehook.h b/sourcehook/sourcehook.h index 1ba3e43..9d82f2a 100644 --- a/sourcehook/sourcehook.h +++ b/sourcehook/sourcehook.h @@ -86,6 +86,10 @@ # define vsnprintf _vsnprintf #endif +#if SH_SYS != SH_SYS_WIN32 +# include +#endif + #define SH_PTRSIZE sizeof(void*) #include "FastDelegate.h"