1 // 2 // Types.hh for pekwm 3 // Copyright (C) 2003-2020 Claes Nästén <pekdon@gmail.com> 4 // 5 // This program is licensed under the GNU GPL. 6 // See the LICENSE file for more information. 7 // 8 9 #ifndef _PEKWM_TYPES_HH_ 10 #define _PEKWM_TYPES_HH_ 11 12 extern "C" { 13 #include <sys/types.h> 14 #ifdef PEKWM_HAVE_STDINT_H 15 #include <stdint.h> 16 #endif // PEKWM_HAVE_STDINT_H 17 } 18 19 #ifndef ushort 20 #define ushort unsigned short 21 #endif // ushort 22 23 #ifndef uint 24 #define uint unsigned int 25 #endif // uint 26 27 #ifndef ulong 28 #define ulong unsigned long 29 #endif // ulong 30 31 #ifndef uchar 32 #define uchar unsigned char 33 #endif // uchar 34 35 #endif // _PEKWM_TYPES_HH_ 36