1
0
forked from 0ad/0ad

Removes Dehydra config macro. Introduced in 378bd89c1d.

Dehydra was abandoned in 2010s.

This was SVN commit r25521.
This commit is contained in:
Vladislav Belov 2021-05-22 13:28:55 +00:00
parent 0812ded348
commit 53369d593b
2 changed files with 2 additions and 11 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (c) 2020 Wildfire Games.
/* Copyright (c) 2021 Wildfire Games.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
@ -249,11 +249,7 @@ switch(x % 2)
#if GCC_VERSION
# define PRINTF_ARGS(fmtpos) __attribute__ ((format (printf, fmtpos, fmtpos+1)))
# define VPRINTF_ARGS(fmtpos) __attribute__ ((format (printf, fmtpos, 0)))
# if CONFIG_DEHYDRA
# define WPRINTF_ARGS(fmtpos) __attribute__ ((user("format, w, printf, " #fmtpos ", +1")))
# else
# define WPRINTF_ARGS(fmtpos) /* not currently supported in GCC */
# endif
# define WPRINTF_ARGS(fmtpos) /* not currently supported in GCC */
# define VWPRINTF_ARGS(fmtpos) /* not currently supported in GCC */
#else
# define PRINTF_ARGS(fmtpos)

View File

@ -52,11 +52,6 @@
# define CONFIG_ENABLE_CHECKS 0
#endif
// static type checking with Dehydra
#ifndef CONFIG_DEHYDRA
# define CONFIG_DEHYDRA 0
#endif
// allow the use of Boost? (affects PCH and several individual modules)
#ifndef CONFIG_ENABLE_BOOST
# define CONFIG_ENABLE_BOOST 1