barrier/BasicTypes.h
crs 900b075e3a initial revision of synergy. currently semi-supports X windows
on unix, but client screens don't simulate events other than
mouse move.  also not supporting clipboard at all yet and the
main app is just a temporary framework to test with.  must
clean up protocol and communication.
2001-05-13 11:40:29 +00:00

34 lines
440 B
C

#ifndef BASICTYPES_H
#define BASICTYPES_H
#if defined(__linux__)
#define CONFIG_PLATFORM_LINUX
#define CONFIG_TYPES_X11
#include <stdint.h>
typedef int8_t SInt8;
typedef int16_t SInt16;
typedef int32_t SInt32;
typedef int64_t SInt64;
typedef uint8_t UInt8;
typedef uint16_t UInt16;
typedef uint32_t UInt32;
typedef uint64_t UInt64;
#else
#error unsupported platform
#endif
#ifndef NULL
#define NULL 0
#endif
#endif