Commit 0b9c7eb2 authored by Alexandre Julliard's avatar Alexandre Julliard

makefiles: Define WINE_UNIX_LIB when building Unix libraries.

parent c670df97
......@@ -2384,6 +2384,7 @@ static struct strarray get_source_defines( struct makefile *make, struct incl_fi
strarray_add( &ret, strmake( "-I%s", make->include_paths.str[i] ));
strarray_addall( &ret, make->define_args );
strarray_addall( &ret, get_expanded_file_local_var( make, obj, "EXTRADEFS" ));
if ((source->file->flags & FLAG_C_UNIX) && *dll_ext) strarray_add( &ret, "-DWINE_UNIX_LIB" );
return ret;
}
......
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