Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
489cb8b7
Commit
489cb8b7
authored
Aug 15, 1999
by
Patrik Stridvall
Committed by
Alexandre Julliard
Aug 15, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GCC 3.0 has not been released yet, but it is good to be prepared.
parent
d50f6424
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
resource.h
include/resource.h
+1
-1
windef.h
include/windef.h
+1
-1
winerc.c
rc/winerc.c
+1
-1
No files found.
include/resource.h
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
...
...
include/windef.h
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")
...
...
rc/winerc.c
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
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment