X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=libs%2Fdrawtext%2Fdraw.c;h=08047c149b341d979a807f8ababe2b3cb004150e;hb=ada9427ce6be3fb43fd9c36e0ac02809e762a88e;hp=523239fabcb6f4601f9578e710070c7b57b88eee;hpb=7fccf8b3543c8cdb993252f0cf9a6b9ed826408e;p=retroray
diff --git a/libs/drawtext/draw.c b/libs/drawtext/draw.c
index 523239f..08047c1 100644
--- a/libs/drawtext/draw.c
+++ b/libs/drawtext/draw.c
@@ -18,13 +18,13 @@ along with this program. If not, see .
#include
#include
#include
-#if defined(WIN32) || defined(__WIN32__)
+#if defined(__WATCOMC__) || defined(_WIN32) || defined(__DJGPP__)
#include
#else
#include
#endif
#include "drawtext.h"
-#include "drawtext_impl.h"
+#include "dtximpl.h"
void dtx_position(float x, float y)
{
@@ -83,7 +83,7 @@ void dtx_substring(const char *str, int start, int end)
}
}
-#ifdef _MSC_VER
+#if defined(_MSC_VER) || defined(__WATCOMC__)
#define vsnprintf _vsnprintf
#endif