Browse Source

processor: only undefine() when defined() to avoid warning with some m4

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@342 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 15 years ago
parent
commit
65282d6051
  1. 2
      processor/main.m4

2
processor/main.m4

@ -7,7 +7,7 @@ define(`USEMEMCPY')
dnl ================ main
dnl {{{ basic
define(`REDEF', `undefine(`$1') define(`$1', `$2')')
define(`REDEF', `ifdef(`$1', `undefine(`$1')') define(`$1', `$2')')
define(`MAKE_MACRONAME', `translit(`$1', ` ():
', `_____')')
define(`ONCE', `ifdef(MAKE_MACRONAME(`ONCE $1'), `', `define(MAKE_MACRONAME(`ONCE $1'))$1')')

Loading…
Cancel
Save