[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] Changes to ccvs/windows-NT/config.h.in.footer
From: |
Conrad T . Pino |
Subject: |
[Cvs-cvs] Changes to ccvs/windows-NT/config.h.in.footer |
Date: |
Sun, 25 Sep 2005 15:11:32 -0400 |
Index: ccvs/windows-NT/config.h.in.footer
diff -u ccvs/windows-NT/config.h.in.footer:1.11
ccvs/windows-NT/config.h.in.footer:1.12
--- ccvs/windows-NT/config.h.in.footer:1.11 Fri Sep 23 00:55:44 2005
+++ ccvs/windows-NT/config.h.in.footer Sun Sep 25 19:11:27 2005
@@ -15,6 +15,11 @@
Reorgnized by Conrad T. Pino <address@hidden> May 25, 2005 */
+/* just one time please */
+#ifdef _MSC_VER
+#pragma once
+#endif
+
/* ======================= Macro Definnitions Follow ====================== */
/* Under Windows NT, mkdir only takes one argument. */
@@ -28,6 +33,10 @@
/* Windows has no ELOOP value in errno.h */
#define ELOOP EMLINK
+/* Windows has _snprintf function.
+ HAVE_DECL__SNPRINTF used in ../lib/vasnprintf.c */
+#define HAVE_DECL__SNPRINTF 1
+
#define HAVE_WINSOCK_H
/* This tells the client that it must use send()/recv() to talk to the
@@ -138,3 +147,17 @@
/* #define stat wnt_stat and #define lstat wnt_stat */
int wnt_stat (const char *file, struct wnt_stat *sb);
+
+/* =============== Special mkdir Prototype Handling Follows =============== */
+
+#include <direct.h>
+#define mkdir wnt_mkdir
+
+/* ===================== Special Function Definitions ===================== */
+
+/* If Visual C++ 6.0 */
+#if _MSC_VER == 1200
+static inline int mbsinit( const void * arg ) { return 1; }
+#endif
+
+/* =========================== End Of This File =========================== */