summaryrefslogtreecommitdiff
path: root/vcnet
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2019-05-01 15:47:36 -0400
committerMichael R Sweet <michael.r.sweet@gmail.com>2019-05-01 15:47:36 -0400
commit5f145615d2bce5597c183eaa93238399eadbf76a (patch)
treefa24066a96e15f05fe10e9c48f8a6ee64eff1196 /vcnet
parent6dac1130b551fe328baa5984211d1ca720a152f8 (diff)
downloadcups-5f145615d2bce5597c183eaa93238399eadbf76a.tar.gz
Don't use Windows snprintf/vsnprintf since they don't conform to C99...
Diffstat (limited to 'vcnet')
-rw-r--r--vcnet/config.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/vcnet/config.h b/vcnet/config.h
index d5d1b5c6b..1c04b9165 100644
--- a/vcnet/config.h
+++ b/vcnet/config.h
@@ -1,10 +1,11 @@
/*
* Configuration file for CUPS on Windows.
*
- * Copyright 2007-2019 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products.
+ * Copyright © 2007-2019 by Apple Inc.
+ * Copyright © 1997-2007 by Easy Software Products.
*
- * Licensed under Apache License v2.0. See the file "LICENSE" for more information.
+ * Licensed under Apache License v2.0. See the file "LICENSE" for more
+ * information.
*/
#ifndef _CUPS_CONFIG_H_
@@ -40,10 +41,8 @@
#define open _open
#define read _read
#define rmdir _rmdir
-#define snprintf _snprintf
#define strdup _strdup
#define unlink _unlink
-#define vsnprintf _vsnprintf
#define write _write
@@ -323,8 +322,9 @@ typedef unsigned long useconds_t;
* Do we have the (v)snprintf() functions?
*/
-#define HAVE_SNPRINTF 1
-#define HAVE_VSNPRINTF 1
+/* Windows snprintf/vsnprintf are non-conforming */
+/* #undef HAVE_SNPRINTF */
+/* #undef HAVE_VSNPRINTF */
/*