summaryrefslogtreecommitdiff
path: root/pcrecpp.cc
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-03-05 12:36:47 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-03-05 12:36:47 +0000
commit8ae0b4ccbefb07f479ab5cd2c357c153c6b553ad (patch)
treed09d13da9c0a5c979df307673de7024769eb8cc7 /pcrecpp.cc
parent5bdc3f16de2ec858899e83f62c1b631f03a64c36 (diff)
downloadpcre-8ae0b4ccbefb07f479ab5cd2c357c153c6b553ad.tar.gz
Applied Bob and Daniel's patches to convert the build system to automake. Added
the maintain directory, containing files that are used for maintenance, but are not distributed. This is an intermediate step. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@97 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcrecpp.cc')
-rw-r--r--pcrecpp.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/pcrecpp.cc b/pcrecpp.cc
index b75738b..868b8e3 100644
--- a/pcrecpp.cc
+++ b/pcrecpp.cc
@@ -29,6 +29,10 @@
//
// Author: Sanjay Ghemawat
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
@@ -37,7 +41,6 @@
#include <errno.h>
#include <string>
#include <algorithm>
-#include "config.h"
// We need this to compile the proper dll on windows/msys. This is copied
// from pcre_internal.h. It would probably be better just to include that.
#define PCRE_DEFINITION /* Win32 __declspec(export) trigger for .dll */