Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
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
catsout
wine
Commits
489cb8b7
Commit
489cb8b7
authored
25 years ago
by
Patrik Stridvall
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
GCC 3.0 has not been released yet, but it is good to be prepared.
parent
d50f6424
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/resource.h
+1
-1
1 addition, 1 deletion
include/resource.h
include/windef.h
+1
-1
1 addition, 1 deletion
include/windef.h
rc/winerc.c
+1
-1
1 addition, 1 deletion
rc/winerc.c
with
3 additions
and
3 deletions
include/resource.h
+
1
−
1
View file @
489cb8b7
...
...
@@ -35,7 +35,7 @@ typedef enum
extern
void
LIBRES_RegisterResources
(
const
wrc_resource32_t
*
const
*
Res
);
#if defined(__GNUC__) && (__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)
#if defined(__GNUC__) &&
((__GNUC__ > 2) || (
(__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)
))
#define WINE_CONSTRUCTOR __attribute__((constructor))
#define HAVE_WINE_CONSTRUCTOR
#else
...
...
This diff is collapsed.
Click to expand it.
include/windef.h
+
1
−
1
View file @
489cb8b7
...
...
@@ -57,7 +57,7 @@ extern "C" {
/* Calling conventions definitions */
#ifdef __i386__
# if defined(__GNUC__) && (__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)
# if defined(__GNUC__) &&
((__GNUC__ > 2) || (
(__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)
))
# define __stdcall __attribute__((__stdcall__))
# define __cdecl __attribute__((__cdecl__))
# define __RESTORE_ES __asm__ __volatile__("pushl %ds\n\tpopl %es")
...
...
This diff is collapsed.
Click to expand it.
rc/winerc.c
+
1
−
1
View file @
489cb8b7
...
...
@@ -897,7 +897,7 @@ void create_output(gen_res* top)
/* Perform autoregistration */
fprintf
(
code
,
"#ifndef __WINE__
\n
"
"#if defined(__GNUC__) && (__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)
\n
"
"#if defined(__GNUC__) &&
((__GNUC__ > 2) || (
(__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)
))
\n
"
"static void DoIt(void) __attribute__((constructor));
\n
"
"#else
\n
"
"static void DoIt(void);
\n
"
...
...
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