summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>1997-11-30 20:00:19 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>1997-11-30 20:00:19 +0000
commitd4cce5f1785350c29a181d4bbaaa3141c6fdbe1e (patch)
tree31d1c1ad53b77dd43bd3cc61ebf29d225e620e94 /regcomp.c
parent49f531dad558d800dbb0a247178a2e50ad834fae (diff)
downloadperl-d4cce5f1785350c29a181d4bbaaa3141c6fdbe1e.tar.gz
embed.pl now reads *var*.h to do its stuff.
Split generated embed.h into two - new embedvar.h is #included when 'op' etc. will not mess up proto.h etc. Removed #define foo (thr->Tfoo) from thread.h Added some 'missing' symbols to global.sym, removed those in the *var*.h files Has build all MULTIPLICITY/USE_THREADS options on win32 with VC++ (and passed tests), but not with exactly this set of files. p4raw-id: //depot/ansiperl@338
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/regcomp.c b/regcomp.c
index adda2aa8f9..9039797ad4 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -60,9 +60,9 @@
#define REG_COMP_C
#include "regcomp.h"
-#ifdef USE_THREADS
+#ifdef op
#undef op
-#endif /* USE_THREADS */
+#endif /* op */
static regnode regdummy;
static char * regparse; /* Input-scan pointer. */
@@ -2663,3 +2663,4 @@ re_croak2(const char* pat1,const char* pat2, va_alist)
}
+