Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
d7b8882a
Commit
d7b8882a
authored
Jan 05, 2003
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
Jan 05, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Define the standard __WINE__ and __WIN32__ macros.
- Map -luuid to -lwine_uuid, in Unix -luuid does something else.
parent
a4a8472f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
winegcc.c
tools/winegcc.c
+5
-1
No files found.
tools/winegcc.c
View file @
d7b8882a
...
...
@@ -123,10 +123,12 @@ int main(int argc, char **argv)
switch
(
argv
[
j
][
1
])
{
case
'L'
:
case
'l'
:
case
'o'
:
gcc_argv
[
i
++
]
=
argv
[
j
];
break
;
case
'l'
:
gcc_argv
[
i
++
]
=
strcmp
(
argv
[
j
],
"-luuid"
)
?
argv
[
j
]
:
"-lwine_uuid"
;
break
;
default:
;
/* ignore the rest */
}
...
...
@@ -147,6 +149,8 @@ int main(int argc, char **argv)
if
(
use_msvcrt
)
gcc_argv
[
i
++
]
=
"-I"
INCLUDEDIR
"/msvcrt"
;
gcc_argv
[
i
++
]
=
"-I"
INCLUDEDIR
"/windows"
;
}
gcc_argv
[
i
++
]
=
"-D__WINE__"
;
gcc_argv
[
i
++
]
=
"-D__WIN32__"
;
gcc_argv
[
i
++
]
=
"-DWINE_UNICODE_NATIVE"
;
gcc_argv
[
i
++
]
=
"-D__int8=char"
;
gcc_argv
[
i
++
]
=
"-D__int16=short"
;
...
...
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