ChangeLog -- Define the standard __WINE__ and __WIN32__ macros -- Map -luuid to -lwine_uuid, in Unix -luuid does something else. Index: tools/winegcc.c =================================================================== RCS file: /var/cvs/wine/tools/winegcc.c,v retrieving revision 1.5 diff -u -r1.5 winegcc.c --- tools/winegcc.c 4 Jan 2003 00:15:49 -0000 1.5 +++ tools/winegcc.c 4 Jan 2003 15:18:00 -0000 @@ -123,10 +123,12 @@ 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 @@ 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"; -- Dimi.