diff options
author | Michal Krol <[email protected]> | 2008-02-20 22:05:06 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-02-23 00:51:06 +0900 |
commit | 6f238275c7c19f7e287b47276e6b4060c270599f (patch) | |
tree | efc2024a1fb78d1fc8ae088bfb2a8a56a17a8b21 /src/gallium/include | |
parent | 8828dd1443c7d55697f78757b22be2733e059acf (diff) |
gallium: Define intptr_t for Windows platform.
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_compiler.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_compiler.h b/src/gallium/include/pipe/p_compiler.h index 30cd729c564..ab527f2afe3 100644 --- a/src/gallium/include/pipe/p_compiler.h +++ b/src/gallium/include/pipe/p_compiler.h @@ -1,6 +1,6 @@ /************************************************************************** * - * Copyright 2007 Tungsten Graphics, Inc., Cedar Park, Texas. + * Copyright 2007-2008 Tungsten Graphics, Inc., Cedar Park, Texas. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a @@ -61,8 +61,10 @@ typedef long long int64_t; typedef unsigned long long uint64_t; #if defined(_WIN64) +typedef __int64 intptr_t; typedef unsigned __int64 uintptr_t; #else +typedef int intptr_t; typedef unsigned int uintptr_t; #endif |