This hasn't been needed for a while. Ever since we dumped 10.2.8 support. It just got overlooked.
This commit is contained in:
@@ -1234,7 +1234,6 @@
|
||||
AA40D4ED09A08D650068C0D5 /* ScreenOptionsEditCourseEntry.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AA77E75908B64B9A00FA24CA /* ScreenOptionsEditCourseEntry.cpp */; };
|
||||
AA40D4EE09A08D650068C0D5 /* ScreenOptionsManageCourses.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AA77E75B08B64B9A00FA24CA /* ScreenOptionsManageCourses.cpp */; };
|
||||
AA40D4EF09A08D650068C0D5 /* ScreenOptionsManageProfiles.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AA77E75D08B64B9A00FA24CA /* ScreenOptionsManageProfiles.cpp */; };
|
||||
AA40D4F009A08D650068C0D5 /* wchar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AA4B5CC40573AD81005FB5DB /* wchar.cpp */; };
|
||||
AA40D4F109A08D650068C0D5 /* ScreenGameplayNormal.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1215D7A008C6559A00B87D8B /* ScreenGameplayNormal.cpp */; };
|
||||
AA40D4F209A08D650068C0D5 /* ActorSound.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AACFBE2608E7D793005087FC /* ActorSound.cpp */; };
|
||||
AA40D4F409A08D650068C0D5 /* ScreenGameplayLesson.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AACFBE4908E7D893005087FC /* ScreenGameplayLesson.cpp */; };
|
||||
@@ -1365,7 +1364,6 @@
|
||||
AA77E76708B64B9A00FA24CA /* ScreenOptionsManageProfiles.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AA77E75D08B64B9A00FA24CA /* ScreenOptionsManageProfiles.cpp */; };
|
||||
AA77E76808B64B9A00FA24CA /* ScreenOptionsManageProfiles.h in Headers */ = {isa = PBXBuildFile; fileRef = AA77E75E08B64B9A00FA24CA /* ScreenOptionsManageProfiles.h */; };
|
||||
AA77E8B108B6ABD500FA24CA /* vecLib.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AA77E8A108B6ABD500FA24CA /* vecLib.framework */; };
|
||||
AA77E8B808B6AC0000FA24CA /* wchar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AA4B5CC40573AD81005FB5DB /* wchar.cpp */; };
|
||||
AA7A2BA00AE09BC90054C5BA /* lua.c in Sources */ = {isa = PBXBuildFile; fileRef = AA7A2B9D0AE09BC80054C5BA /* lua.c */; };
|
||||
AA7A2BAF0AE09CEC0054C5BA /* liblua-5.1.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AAE7817E0AC7E37B00AEFC64 /* liblua-5.1.a */; };
|
||||
AA7A2BB00AE09CF10054C5BA /* liblua-5.1.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AAE7817E0AC7E37B00AEFC64 /* liblua-5.1.a */; };
|
||||
@@ -2340,7 +2338,6 @@
|
||||
AA44708D0984720900983E82 /* JoystickDevice.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JoystickDevice.cpp; sourceTree = "<group>"; };
|
||||
AA4470BA098476F600983E82 /* KeyboardDevice.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KeyboardDevice.h; sourceTree = "<group>"; };
|
||||
AA4470BB098476F600983E82 /* KeyboardDevice.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = KeyboardDevice.cpp; sourceTree = "<group>"; };
|
||||
AA4B5CC40573AD81005FB5DB /* wchar.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; path = wchar.cpp; sourceTree = "<group>"; };
|
||||
AA4F27AE0B2C01B400ADEA79 /* RageSoundReader_ChannelSplit.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = RageSoundReader_ChannelSplit.cpp; path = ../src/RageSoundReader_ChannelSplit.cpp; sourceTree = "<group>"; };
|
||||
AA4F27AF0B2C01B400ADEA79 /* RageSoundReader_ChannelSplit.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = RageSoundReader_ChannelSplit.h; path = ../src/RageSoundReader_ChannelSplit.h; sourceTree = "<group>"; };
|
||||
AA4F27B00B2C01B400ADEA79 /* RageSoundReader_Pan.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = RageSoundReader_Pan.cpp; path = ../src/RageSoundReader_Pan.cpp; sourceTree = "<group>"; };
|
||||
@@ -5290,7 +5287,6 @@
|
||||
AAD64AA10603FE7300EF8CDE /* StepMania.pch */,
|
||||
AA147F190A0F78D8006EADF6 /* VectorHelper.cpp */,
|
||||
AA147F180A0F78D8006EADF6 /* VectorHelper.h */,
|
||||
AA4B5CC40573AD81005FB5DB /* wchar.cpp */,
|
||||
);
|
||||
path = Darwin;
|
||||
sourceTree = "<group>";
|
||||
@@ -6958,7 +6954,6 @@
|
||||
AA77E76308B64B9A00FA24CA /* ScreenOptionsEditCourseEntry.cpp in Sources */,
|
||||
AA77E76508B64B9A00FA24CA /* ScreenOptionsManageCourses.cpp in Sources */,
|
||||
AA77E76708B64B9A00FA24CA /* ScreenOptionsManageProfiles.cpp in Sources */,
|
||||
AA77E8B808B6AC0000FA24CA /* wchar.cpp in Sources */,
|
||||
1215D7A208C6559A00B87D8B /* ScreenGameplayNormal.cpp in Sources */,
|
||||
AACFBE2808E7D793005087FC /* ActorSound.cpp in Sources */,
|
||||
AACFBE4F08E7D893005087FC /* ScreenGameplayLesson.cpp in Sources */,
|
||||
@@ -7370,7 +7365,6 @@
|
||||
AA40D4ED09A08D650068C0D5 /* ScreenOptionsEditCourseEntry.cpp in Sources */,
|
||||
AA40D4EE09A08D650068C0D5 /* ScreenOptionsManageCourses.cpp in Sources */,
|
||||
AA40D4EF09A08D650068C0D5 /* ScreenOptionsManageProfiles.cpp in Sources */,
|
||||
AA40D4F009A08D650068C0D5 /* wchar.cpp in Sources */,
|
||||
AA40D4F109A08D650068C0D5 /* ScreenGameplayNormal.cpp in Sources */,
|
||||
AA40D4F209A08D650068C0D5 /* ActorSound.cpp in Sources */,
|
||||
AA40D4F409A08D650068C0D5 /* ScreenGameplayLesson.cpp in Sources */,
|
||||
|
||||
@@ -1,88 +0,0 @@
|
||||
#include <bits/c++config.h>
|
||||
#include <cstring>
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
// This is very annoying. The 10.2.8 SDK uses GLIBCPP but the 10.4u SDK uses GLIBCXX
|
||||
#define _GLIB_CHECK(x) (_GLIBCPP_ ## x || _GLIBCXX_ ## x)
|
||||
|
||||
__BEGIN_DECLS
|
||||
#if ! _GLIB_CHECK(HAVE_WCSLEN)
|
||||
size_t wcslen( const wchar_t *ws )
|
||||
{
|
||||
size_t n = 0;
|
||||
|
||||
while( *(ws++) != L'\0' )
|
||||
++n;
|
||||
return n;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if ! _GLIB_CHECK(HAVE_WMEMCHR)
|
||||
wchar_t *wmemchr( const wchar_t *ws, wchar_t wc, size_t n )
|
||||
{
|
||||
for( size_t i=0; i<n; ++i, ++ws )
|
||||
if( *ws == wc )
|
||||
return (wchar_t *)ws;
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if ! _GLIB_CHECK(HAVE_WMEMCMP)
|
||||
int wmemcmp( const wchar_t *ws1, const wchar_t *ws2, size_t n )
|
||||
{
|
||||
for( size_t i=0; i<n; ++i, ++ws1, ++ws2 )
|
||||
if( *ws1 != *ws2 )
|
||||
return *ws1 - *ws2;
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if ! _GLIB_CHECK(HAVE_WMEMCPY)
|
||||
wchar_t *wmemcpy( wchar_t *ws1, const wchar_t *ws2, size_t n )
|
||||
{
|
||||
return (wchar_t *)memcpy( ws1, ws2, n * sizeof(wchar_t) );
|
||||
}
|
||||
#endif
|
||||
|
||||
#if ! _GLIB_CHECK(HAVE_WMEMMOVE)
|
||||
wchar_t *wmemmove( wchar_t *ws1, const wchar_t *ws2, size_t n )
|
||||
{
|
||||
return (wchar_t *)memmove( ws1, ws2, n * sizeof(wchar_t) );
|
||||
}
|
||||
#endif
|
||||
|
||||
#if ! _GLIB_CHECK(HAVE_WMEMSET)
|
||||
wchar_t *wmemset( wchar_t *ws , wchar_t wc, size_t n )
|
||||
{
|
||||
wchar_t *temp = ws;
|
||||
for( size_t i=0; i<n; ++i, ++temp )
|
||||
*temp = wc;
|
||||
return ws;
|
||||
}
|
||||
#endif
|
||||
__END_DECLS
|
||||
|
||||
/*
|
||||
* (c) 2003-2006 Steve Checkoway
|
||||
* 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
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, and/or sell copies of the Software, and to permit persons to
|
||||
* whom the Software is furnished to do so, provided that the above
|
||||
* 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
|
||||
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
|
||||
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT
|
||||
* OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
||||
* OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
Reference in New Issue
Block a user