Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vim
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Someone-Else
Vim
Commits
4890f1f7
Commit
4890f1f7
authored
14 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
One more fix for defining uint32_t.
parent
6323508e
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/netbeans.c
+1
-0
1 addition, 0 deletions
src/netbeans.c
src/vim.h
+5
-0
5 additions, 0 deletions
src/vim.h
with
6 additions
and
0 deletions
src/netbeans.c
+
1
−
0
View file @
4890f1f7
...
@@ -47,6 +47,7 @@
...
@@ -47,6 +47,7 @@
* stdint.h which tries to typedef uint32_t and fails. */
* stdint.h which tries to typedef uint32_t and fails. */
# ifdef uint32_t
# ifdef uint32_t
# undef uint32_t
# undef uint32_t
# undef __uint32_t_defined
# endif
# endif
# include <netdb.h>
# include <netdb.h>
# include <netinet/in.h>
# include <netinet/in.h>
...
...
This diff is collapsed.
Click to expand it.
src/vim.h
+
5
−
0
View file @
4890f1f7
...
@@ -32,6 +32,10 @@
...
@@ -32,6 +32,10 @@
# include "auto/config.h"
# include "auto/config.h"
# define HAVE_PATHDEF
# 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,
* 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
* 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. */
...
@@ -2075,6 +2079,7 @@ typedef int VimClipboard; /* This is required for the prototypes. */
* stdint.h which tries to typedef uint32_t and fails. */
* stdint.h which tries to typedef uint32_t and fails. */
# ifdef uint32_t
# ifdef uint32_t
# undef uint32_t
# undef uint32_t
# undef __uint32_t_defined
# endif
# endif
# ifdef __BORLANDC__
# ifdef __BORLANDC__
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment