]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/ac/time.h
Merge remote branch 'origin/mdb.master'
[openldap] / contrib / ldapc++ / src / ac / time.h
index e8359633c5023d61299b9373f1bb9dc3ea50e7ca..fa1ff3bdde901a0fa12ea93b7635e721d94683e3 100644 (file)
@@ -1,7 +1,7 @@
 /* Generic time.h */
 /* $OpenLDAP$ */
 /*
- * Copyright 1998-2004 The OpenLDAP Foundation, Redwood City, California, USA
+ * Copyright 1998-2012 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms are permitted only
 #ifndef _AC_TIME_H
 #define _AC_TIME_H
 
-#if TIME_WITH_SYS_TIME
+#ifdef TIME_WITH_SYS_TIME
 # include <sys/time.h>
 # include <time.h>
-#elif HAVE_SYS_TIME_H
+#elif defined HAVE_SYS_TIME_H
 # include <sys/time.h>
 # ifdef HAVE_SYS_TIMEB_H
 #  include <sys/timeb.h>