diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-02-04 18:46:22 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-02-04 18:49:05 +0100 |
commit | 39be5a8b13ae793aacf641ef605a4cef8eabf373 (patch) | |
tree | 0a97d69e844486bcb29ef958033c8e4f66c06207 /client | |
parent | 90104b39aec42210bf823a1a5f23e1822f32c038 (diff) | |
download | spice-39be5a8b13ae793aacf641ef605a4cef8eabf373.tar.gz spice-39be5a8b13ae793aacf641ef605a4cef8eabf373.tar.xz spice-39be5a8b13ae793aacf641ef605a4cef8eabf373.zip |
Use standard int types and <spice/types.h>
Diffstat (limited to 'client')
-rw-r--r-- | client/common.h | 3 | ||||
-rw-r--r-- | client/glz_decoder_config.h | 18 |
2 files changed, 2 insertions, 19 deletions
diff --git a/client/common.h b/client/common.h index 69253db5..f9b19566 100644 --- a/client/common.h +++ b/client/common.h @@ -22,7 +22,7 @@ #include <errno.h> #endif -#include <stdint.h> +#include <spice/types.h> #include <stdio.h> #include <string> #include <vector> @@ -35,7 +35,6 @@ #ifdef WIN32 #include <winsock2.h> #include <windows.h> -#include <basetsd.h> #pragma warning(disable:4355) #pragma warning(disable:4996) diff --git a/client/glz_decoder_config.h b/client/glz_decoder_config.h index 44ef1653..3e820a5f 100644 --- a/client/glz_decoder_config.h +++ b/client/glz_decoder_config.h @@ -25,23 +25,7 @@ #include <stdio.h> -#ifdef __GNUC__ - -#include <stdint.h> - - -#else - -#include <stddef.h> -#include <basetsd.h> - - -typedef UINT64 uint64_t; -typedef UINT32 uint32_t; -typedef UINT16 uint16_t; -typedef UINT8 uint8_t; - -#endif //__GNUC__ +#include <spice/types.h> #define MIN(x, y) (((x) <= (y)) ? (x) : (y)) #define MAX(x, y) (((x) >= (y)) ? (x) : (y)) |