Files
quakemapping/tools/vispatch-1.4.6/source/q_stdint.h
2019-12-30 17:23:05 +01:00

25 lines
728 B
C

/* q_stdint.h: include a proper stdint.h header */
#ifndef __QSTDINT_H
#define __QSTDINT_H
#if defined(_MSC_VER) && (_MSC_VER < 1600)
/* MS Visual Studio provides stdint.h only starting with
* version 2010. Even in VS2010, there is no inttypes.h.. */
#include "msinttypes/stdint.h"
#elif defined(__DJGPP__) && \
(!defined(__DJGPP_MINOR__) || __DJGPP_MINOR__ < 4)
/* DJGPP < v2.04 doesn't have stdint.h and inttypes.h. */
/* to ensure a proper version check, include stdio.h
* or go32.h which includes sys/version.h since djgpp
* versions >= 2.02 and defines __DJGPP_MINOR__ */
#include "djstdint/stdint.h"
#else /* assume presence of a stdint.h from the SDK. */
#include <stdint.h>
#endif
#endif /* __QSTDINT_H */