Allow linking against system libraries for almost everything (#1790)

This commit is contained in:
Tatsh
2019-02-16 08:32:52 -08:00
committed by Colby Klein
parent 021d494157
commit b8a79cd0f6
78 changed files with 4870 additions and 4776 deletions
+8 -2
View File
@@ -16,6 +16,12 @@ namespace jpeg
}
}
// Only Xcode wants this. FIXME
#if defined(PBBUILD) && defined(SYSTEM_JPEGLIB)
#define TRUE jpeg::TRUE
#define FALSE jpeg::FALSE
#endif
#define OUTPUT_BUFFER_SIZE 4096
typedef struct
{
@@ -149,7 +155,7 @@ bool RageSurfaceUtils::SaveJPEG( RageSurface *surface, RageFile &f, bool bHighQu
/*
* (c) 2004 Chris Danford
* All rights reserved.
*
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
@@ -159,7 +165,7 @@ bool RageSurfaceUtils::SaveJPEG( RageSurface *surface, RageFile &f, bool bHighQu
* copyright notice(s) and this permission notice appear in all copies of
* the Software and that both the above copyright notice(s) and this
* permission notice appear in supporting documentation.
*
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF