projects
/
retroray
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
font rendering and redraw fixes
[retroray]
/
libs
/
drawtext
/
draw.c
diff --git
a/libs/drawtext/draw.c
b/libs/drawtext/draw.c
index
523239f
..
08047c1
100644
(file)
--- a/
libs/drawtext/draw.c
+++ b/
libs/drawtext/draw.c
@@
-18,13
+18,13
@@
along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
-#if defined(WIN32) || defined(__WIN32__)
+#if defined(__WATCOMC__) || defined(_WIN32) || defined(__DJGPP__)
#include <malloc.h>
#else
#include <alloca.h>
#endif
#include "drawtext.h"
#include <malloc.h>
#else
#include <alloca.h>
#endif
#include "drawtext.h"
-#include "drawtext_impl.h"
+#include "dtximpl.h"
void dtx_position(float x, float y)
{
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
#define vsnprintf _vsnprintf
#endif