[devel] Made PNG_BUILD_DLL safe: it can be set whenever a DLL is being built.

Removed the include of sys/types.h - apparently unnecessary now on the
  platforms on which it happened (all but Mac OS and RISC OS).
Moved the Mac OS test into pngpriv.h (the only place it is used.)
This commit is contained in:
Glenn Randers-Pehrson
2010-03-14 09:15:49 -05:00
parent 2bc7abfaca
commit d00bbb29b8
9 changed files with 102 additions and 122 deletions

View File

@@ -2,7 +2,7 @@ The xcode project has not been entirely updated to libpng-1.4.0.
It needs to *not* depend on pnggccrd.c or pngvcrd.c
It needs to PNG_NO_PEDANTIC_WARNINGS in the CFLAGS while building
It needs to define PNG_NO_PEDANTIC_WARNINGS in the CFLAGS while building
the library, but not while building an application.
If an updated version is not received, this project will