summaryrefslogtreecommitdiff
path: root/lib/replace/replace.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-11 09:11:17 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-14 09:34:14 +0200
commitdeca298d7b5651276ab7cd8bcb3090a2a4946d79 (patch)
tree459b06b797b64122d691d7b2efc02fab114e6e1e /lib/replace/replace.h
parent0a92ac2ddc8d27c70d3399610c51d1ed65564239 (diff)
downloadsamba-deca298d7b5651276ab7cd8bcb3090a2a4946d79.tar.gz
samba-deca298d7b5651276ab7cd8bcb3090a2a4946d79.tar.bz2
samba-deca298d7b5651276ab7cd8bcb3090a2a4946d79.zip
lib/replace: define HAVE_WORKING_STRPTIME instead of REPLACE_STRPTIME
That makes the logic in 'wscript' simpler. metze
Diffstat (limited to 'lib/replace/replace.h')
-rw-r--r--lib/replace/replace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index 776da8aa4a..bb271d45fa 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -451,7 +451,7 @@ void rep_vsyslog (int facility_priority, const char *format, va_list arglist) PR
typedef int (*comparison_fn_t)(const void *, const void *);
#endif
-#ifdef REPLACE_STRPTIME
+#ifndef HAVE_WORKING_STRPTIME
#define strptime rep_strptime
struct tm;
char *rep_strptime(const char *buf, const char *format, struct tm *tm);