Fix OS X 10.6 compatibility.

Patch by mathieudel.
This commit is contained in:
NeoBrainX 2012-12-07 19:49:08 +01:00
parent 30718230b2
commit 4fc0125fb3
2 changed files with 6 additions and 5 deletions

View File

@ -996,25 +996,25 @@
#define HAVE_USLEEP 1
/* Define if you have wcscasecmp() function */
#define HAVE_WCSCASECMP 1
/* #undef HAVE_WCSCASECMP 1 */
/* Define if you have wcsncasecmp() function */
#define HAVE_WCSNCASECMP 1
/* #undef HAVE_WCSNCASECMP 1 */
/* Define if you have wcslen function */
#define HAVE_WCSLEN 1
/* Define if you have wcsdup function */
#define HAVE_WCSDUP 1
/* #undef HAVE_WCSDUP 1 */
/* Define if you have wcsftime() function */
#define HAVE_WCSFTIME 1
/* Define if you have strnlen() function */
#define HAVE_STRNLEN 1
/* #undef HAVE_STRNLEN 1 */
/* Define if you have wcsnlen() function */
#define HAVE_WCSNLEN 1
/* #undef HAVE_WCSNLEN 1 */
/* Define if you have wcstoull() and wcstoll() */
/* #undef HAVE_WCSTOULL */

View File

@ -153,6 +153,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/postprocess_bundle.cmake "
include(BundleUtilities)
message(\"Fixing up application bundle: ${BUNDLE_PATH}\")
set(BU_CHMOD_BUNDLE_ITEMS ON)
fixup_bundle(\"${BUNDLE_PATH}\" \"\" \"\")
")
add_custom_command(TARGET ${DOLPHIN_EXE} POST_BUILD