summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-18 21:49:58 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-18 21:49:58 +0200
commit4890f1f7f47242dd7b2e9d2a22759449f13ebe6b (patch)
tree7c6e918d791f3e8d6d11ee04415a451ff9d89e85 /src/vim.h
parent6323508e5e861218da88c3c6747a360f396f5c8f (diff)
downloadvim-git-4890f1f7f47242dd7b2e9d2a22759449f13ebe6b.tar.gz
One more fix for defining uint32_t.
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vim.h b/src/vim.h
index fb999b290..60eae8445 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -32,6 +32,10 @@
# include "auto/config.h"
# define HAVE_PATHDEF
+/* Avoid a problem when stdint.h gets included later, autoconf defines
+ * uint32_t when it is not typedef'ed. */
+# define __uint32_t_defined
+
/*
* Check if configure correctly managed to find sizeof(int). If this failed,
* it becomes zero. This is likely a problem of not being able to run the
@@ -2075,6 +2079,7 @@ typedef int VimClipboard; /* This is required for the prototypes. */
* stdint.h which tries to typedef uint32_t and fails. */
# ifdef uint32_t
# undef uint32_t
+# undef __uint32_t_defined
# endif
# ifdef __BORLANDC__