Permalink
Browse files

Force including zncconfig.h at the beginning of every .cpp

Otherwise it's easy to have STL compiled with different options in
different .cpp's, which leads to very weird crashes.
  • Loading branch information...
DarthGandalf committed Oct 11, 2013
1 parent 257e681 commit da05a290e6a66cca3bd84e7c3b22bb56c7247de5
Showing with 1 addition and 0 deletions.
  1. +1 −0 configure.ac
View
@@ -70,6 +70,7 @@ appendLD () {
}
appendCXX "-D_FORTIFY_SOURCE=2"
+appendCXX "-include znc/zncconfig.h"
case "${host_os}" in
freebsd*)

0 comments on commit da05a29

Please sign in to comment.