aboutsummaryrefslogtreecommitdiffstats
path: root/strptime.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-06-02 06:21:14 +0000
committerGuy Harris <guy@alum.mit.edu>2001-06-02 06:21:14 +0000
commit14ab278788649dda5708e23c012b27f79f58333a (patch)
treed0c705c84de2ea66679b6ae6286d74fe3060a46d /strptime.h
parent89a74629b27c4a462cabac80a3170fec156ad1b8 (diff)
Windows and the MSVC++ 6.0 library don't have "strptime()", so pull in
the glibc "strptime()" (modified so it doesn't require the rest of glibc), set up the configure script to check for it, and set up Makefile.am and Makefile.nmake to use it. Get rid of NEED_MKSTEMP - nothing uses it. svn path=/trunk/; revision=3500
Diffstat (limited to 'strptime.h')
-rw-r--r--strptime.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/strptime.h b/strptime.h
new file mode 100644
index 0000000000..100dbcef68
--- /dev/null
+++ b/strptime.h
@@ -0,0 +1,32 @@
+/* strptime.h
+ *
+ * $Id: strptime.h,v 1.1 2001/06/02 06:21:13 guy Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@ethereal.com>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __STRPTIME_H__
+#define __STRPTIME_H__
+
+/*
+ * Version of "strptime()", for the benefit of OSes that don't have it.
+ */
+extern char *strptime(const char *, const char *, struct tm *);
+
+#endif