* Merged changes up to eAthena 15032.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15065 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
eathenabot
2011-12-11 21:06:25 +00:00
parent a0cd90cb2f
commit 1810f2efcc
41 changed files with 1158 additions and 966 deletions

View File

@@ -440,42 +440,6 @@ AC_COMPILE_IFELSE(
)
#
# DB_MANUAL_CAST_TO_UNION
#
AC_MSG_CHECKING([whether $CC is able to typecast to union])
AC_COMPILE_IFELSE(
[
typedef union Foonion
{
int i;
unsigned int ui;
const char* s;
}
Foonion;
int bar(Foonion onion)
{
return onion.i;
}
int foo(void)
{
int i = 0;
return bar(((Foonion)(int)i));
}
],
[
AC_MSG_RESULT([yes])
],
[
AC_MSG_RESULT([no])
CFLAGS="$CFLAGS -DDB_MANUAL_CAST_TO_UNION"
]
)
###############################################################################
# Check for libraries and header files.
#