Commit d7b8882a authored by Dimitrie O. Paun's avatar Dimitrie O. Paun Committed by Alexandre Julliard

- Define the standard __WINE__ and __WIN32__ macros.

- Map -luuid to -lwine_uuid, in Unix -luuid does something else.
parent a4a8472f
......@@ -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";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment