mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
- Define the standard __WINE__ and __WIN32__ macros.
- Map -luuid to -lwine_uuid, in Unix -luuid does something else.
This commit is contained in:
parent
a4a8472f40
commit
d7b8882a1f
1 changed files with 5 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue