}
}
-#ifdef _MSC_VER
+#if defined(_MSC_VER) || defined(__WATCOMC__)
#define vsnprintf _vsnprintf
#endif
#include <alloca.h>
#endif
-#ifdef _MSC_VER
+#if defined(_MSC_VER) || defined(__WATCOMC__)
#define snprintf _snprintf
#endif
#ifndef CPUID_H_
#define CPUID_H_
-#include "inttypes.h"
+#include "sizeint.h"
struct cpuid_info {
uint32_t maxidx; /* 0: eax */
#ifndef GFX_H_
#define GFX_H_
-#include "inttypes.h"
+#include "sizeint.h"
struct video_mode {
uint16_t mode;
#ifndef VGA_H_
#define VGA_H_
-#include "inttypes.h"
+#include "sizeint.h"
#include "dosutil.h"
#include "cdpmi.h"
#include "vgaregs.h"