Filter out gatomic-gcc.c from the VS project sources

Instead, explicitly include gatomic.c.
This commit is contained in:
Tor Lillqvist 2010-03-22 15:53:47 +02:00
parent 365fd70f26
commit 440713e393
2 changed files with 5 additions and 2 deletions

View File

@ -157,6 +157,7 @@
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
#include "libglib.sourcefiles"
<File RelativePath="..\..\..\glib\gatomic.c" />
<File RelativePath="..\..\..\glib\giowin32.c" />
<File RelativePath="..\..\..\glib\gspawn-win32.c" />
<File RelativePath="..\..\..\glib\gwin32.c" />

View File

@ -393,8 +393,10 @@ dist-hook: $(BUILT_EXTRA_DIST) ../build/win32/vs9/glib.vcproj
../build/win32/vs9/glib.vcproj: $(top_srcdir)/build/win32/vs9/glib.vcprojin
for F in $(libglib_2_0_la_SOURCES); do \
case $$F in \
*.c) echo ' <File RelativePath="..\..\..\glib\'$$F'" />' \
;; \
*-gcc.c) \
;; \
*.c) echo ' <File RelativePath="..\..\..\glib\'$$F'" />' \
;; \
esac; \
done >libglib.sourcefiles
$(CPP) -P - <$(top_srcdir)/build/win32/vs9/glib.vcprojin >$@