freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
[freetds] [PATCH] Drop prefixes from replacements in VMS config.h.
- From: "Craig A. Berry" <craigberry AT mac.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: [freetds] [PATCH] Drop prefixes from replacements in VMS config.h.
- Date: Fri, 28 Aug 2015 08:12:52 -0500
[Inline and attached]
These conflict with the inline prefixes now in use. We keep
our own prefixes for routines defined in vms/ rather than in
src/replacements.
---
vms/config_h.vms | 26 +++++---------------------
1 file changed, 5 insertions(+), 21 deletions(-)
diff --git a/vms/config_h.vms b/vms/config_h.vms
index 1f731d2..8da6c11 100644
--- a/vms/config_h.vms
+++ b/vms/config_h.vms
@@ -337,27 +337,6 @@
#pragma extern_prefix "freetds_" (getpass)
char *getpass( const char* prompt );
-#if !HAVE_ASPRINTF
-#pragma extern_prefix "freetds_" (asprintf)
-#endif /* !HAVE_ASPRINTF */
-
-#if !HAVE_VASPRINTF
-#pragma extern_prefix "freetds_" (vasprintf)
-#endif /* !HAVE_VASPRINTF */
-
-#if !HAVE_SNPRINTF
-#pragma extern_prefix "portable_" (snprintf)
-extern int snprintf(char *, size_t, const char *, /*args*/ ...);
-#endif /* !HAVE_SNPRINTF */
-
-#if !HAVE_STRTOK_R
-#pragma extern_prefix "freetds_" (strtok_r)
-#endif /* !HAVE_STRTOK_R */
-
-#pragma extern_prefix restore
-
-#define tds_sysdep_intptr_type int /* 32-bit int */
-
#pragma extern_prefix "freetds_" (readpassphrase)
char * readpassphrase(const char *, char *, size_t, int);
#ifdef HAVE_READPASSPHRASE
@@ -365,6 +344,11 @@ char * readpassphrase(const char *, char *, size_t, int);
# undef HAVE_READPASSPHRASE
#endif
+#pragma extern_prefix restore
+
+#define tds_sysdep_intptr_type int /* 32-bit int */
+
+
#include "replacements.h"
/* If the CRTL ever complies with UNIX98 and defines socklen_t in
—
2.2.1
________________________________________
Craig A. Berry
mailto:craigberry AT mac.com
"... getting out of a sonnet is much more
difficult than getting in."
Brad Leithauser
Attachment:
0001-Drop-prefixes-from-replacements-in-VMS-config.h.patch
Description: Binary data
-
[freetds] [PATCH] Drop prefixes from replacements in VMS config.h.,
Craig A. Berry, 08/28/2015
- Re: [freetds] [PATCH] Drop prefixes from replacements in VMS config.h., Frediano Ziglio, 08/29/2015
Archive powered by MHonArc 2.6.24.