X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=libs%2Fimago%2Fsrc%2Finttypes.h;fp=libs%2Fimago%2Fsrc%2Finttypes.h;h=0000000000000000000000000000000000000000;hp=cbcc4d0ce6396b7b62d5b5f7b068cec3eb0c999e;hb=7e9bdbed1a8cda290cf0ee8af914625f62df2b5e;hpb=dcc815e69d92ecf20b063e38903bcedee7a19f2d diff --git a/libs/imago/src/inttypes.h b/libs/imago/src/inttypes.h deleted file mode 100644 index cbcc4d0..0000000 --- a/libs/imago/src/inttypes.h +++ /dev/null @@ -1,57 +0,0 @@ -/* -colcycle - color cycling image viewer -Copyright (C) 2016 John Tsiombikas - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ -#ifndef INT_TYPES_H_ -#define INT_TYPES_H_ - -#if defined(__DOS__) || defined(__MSDOS__) -typedef char int8_t; -typedef short int16_t; -typedef long int32_t; - -typedef unsigned char uint8_t; -typedef unsigned short uint16_t; -typedef unsigned long uint32_t; - -typedef unsigned long intptr_t; -#else - -#ifdef _MSC_VER -typedef __int8 int8_t; -typedef __int16 int16_t; -typedef __int32 int32_t; -typedef unsigned __int8 uint8_t; -typedef unsigned __int16 uint16_t; -typedef unsigned __int32 uint32_t; - -#ifdef _WIN64 -typedef __int64 intptr_t; -#else -typedef __int32 intptr_t; -#endif -#else /* not msvc */ - -#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199900 -#include -#else -#include -#endif - -#endif /* end !msvc */ -#endif /* end !dos */ - -#endif /* INT_TYPES_H_ */