mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-29 03:33:48 +00:00
Merge remote-tracking branch 'upstream/experimental' into travis
This commit is contained in:
commit
ef9d04b13b
3 changed files with 17 additions and 26 deletions
|
@ -381,6 +381,9 @@ IF(CMAKE_COMPILER_IS_GNUCC)
|
||||||
ENDIF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
ENDIF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||||
ENDIF(CMAKE_COMPILER_IS_GNUCC)
|
ENDIF(CMAKE_COMPILER_IS_GNUCC)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11 -Wall -pedantic")
|
||||||
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wall -pedantic")
|
||||||
|
|
||||||
CHECK_FUNCTION_EXISTS(strcasecmp HAVE_STRCASECMP)
|
CHECK_FUNCTION_EXISTS(strcasecmp HAVE_STRCASECMP)
|
||||||
IF(HAVE_STRCASECMP)
|
IF(HAVE_STRCASECMP)
|
||||||
ADD_DEFINITIONS(-DHAVE_STRCASECMP)
|
ADD_DEFINITIONS(-DHAVE_STRCASECMP)
|
||||||
|
@ -654,7 +657,7 @@ ELSE(MSVC)
|
||||||
ENDIF(COMPILER_HAS_NOSTRICTALIAS)
|
ENDIF(COMPILER_HAS_NOSTRICTALIAS)
|
||||||
SET_SOURCE_FILES_PROPERTIES(
|
SET_SOURCE_FILES_PROPERTIES(
|
||||||
${FREETYPE2_SRCS}
|
${FREETYPE2_SRCS}
|
||||||
PROPERTIES COMPILE_FLAGS "-DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H='\"${FREETYPE2DIR}/include/freetype/config/ftconfig.h\"' -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H='\"${FREETYPE2DIR}/include/freetype/config/ftmodule.h\"' -I${FREETYPE2SRCDIR} -I${FREETYPE2DIR}/include/freetype/config -DHAVE_FCNTL_H ${NOSTRICTALIAS}"
|
PROPERTIES COMPILE_FLAGS "-Wno-extended-offsetof -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H='\"${FREETYPE2DIR}/include/freetype/config/ftconfig.h\"' -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H='\"${FREETYPE2DIR}/include/freetype/config/ftmodule.h\"' -I${FREETYPE2SRCDIR} -I${FREETYPE2DIR}/include/freetype/config -DHAVE_FCNTL_H ${NOSTRICTALIAS}"
|
||||||
)
|
)
|
||||||
ENDIF(MSVC)
|
ENDIF(MSVC)
|
||||||
|
|
||||||
|
|
13
ExternalLibs/libogg/include/ogg/config_types.h
Normal file
13
ExternalLibs/libogg/include/ogg/config_types.h
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#ifndef __CONFIG_TYPES_H__
|
||||||
|
#define __CONFIG_TYPES_H__
|
||||||
|
|
||||||
|
/* @@AQUARIA: just force this to stdint.h. */
|
||||||
|
# include <stdint.h>
|
||||||
|
typedef int16_t ogg_int16_t;
|
||||||
|
typedef uint16_t ogg_uint16_t;
|
||||||
|
typedef int32_t ogg_int32_t;
|
||||||
|
typedef uint32_t ogg_uint32_t;
|
||||||
|
typedef int64_t ogg_int64_t;
|
||||||
|
typedef uint64_t ogg_uint64_t;
|
||||||
|
|
||||||
|
#endif
|
|
@ -1,25 +0,0 @@
|
||||||
#ifndef __CONFIG_TYPES_H__
|
|
||||||
#define __CONFIG_TYPES_H__
|
|
||||||
|
|
||||||
/* these are filled in by configure */
|
|
||||||
#define INCLUDE_INTTYPES_H @INCLUDE_INTTYPES_H@
|
|
||||||
#define INCLUDE_STDINT_H @INCLUDE_STDINT_H@
|
|
||||||
#define INCLUDE_SYS_TYPES_H @INCLUDE_SYS_TYPES_H@
|
|
||||||
|
|
||||||
#if INCLUDE_INTTYPES_H
|
|
||||||
# include <inttypes.h>
|
|
||||||
#endif
|
|
||||||
#if INCLUDE_STDINT_H
|
|
||||||
# include <stdint.h>
|
|
||||||
#endif
|
|
||||||
#if INCLUDE_SYS_TYPES_H
|
|
||||||
# include <sys/types.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef @SIZE16@ ogg_int16_t;
|
|
||||||
typedef @USIZE16@ ogg_uint16_t;
|
|
||||||
typedef @SIZE32@ ogg_int32_t;
|
|
||||||
typedef @USIZE32@ ogg_uint32_t;
|
|
||||||
typedef @SIZE64@ ogg_int64_t;
|
|
||||||
|
|
||||||
#endif
|
|
Loading…
Reference in a new issue