File tree Expand file tree Collapse file tree 3 files changed +12
-11
lines changed Expand file tree Collapse file tree 3 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 26
26
27
27
#include <sys/types.h>
28
28
#include <string.h>
29
- #include "psqlodbc .h"
29
+ #include "misc .h"
30
30
#include "gpps.h"
31
31
32
32
#ifndef TRUE
Original file line number Diff line number Diff line change 76
76
#define DIRSEPARATOR "\\"
77
77
#endif
78
78
79
+ #ifdef WIN32
80
+ #define PG_BINARY O_BINARY
81
+ #define PG_BINARY_R "rb"
82
+ #define PG_BINARY_W "wb"
83
+ #else
84
+ #define PG_BINARY 0
85
+ #define PG_BINARY_R "r"
86
+ #define PG_BINARY_W "w"
87
+ #endif
88
+
89
+
79
90
void remove_newlines (char * string );
80
91
char * strncpy_null (char * dst , const char * src , int len );
81
92
char * trim (char * string );
Original file line number Diff line number Diff line change @@ -49,16 +49,6 @@ typedef UInt4 Oid;
49
49
#define DRIVER_FILE_NAME "libpsqlodbc.so"
50
50
#endif
51
51
52
- #ifdef WIN32
53
- #define PG_BINARY O_BINARY
54
- #define PG_BINARY_R "rb"
55
- #define PG_BINARY_W "wb"
56
- #else
57
- #define PG_BINARY 0
58
- #define PG_BINARY_R "r"
59
- #define PG_BINARY_W "w"
60
- #endif
61
-
62
52
/* Limits */
63
53
#ifdef WIN32
64
54
#define BLCKSZ 4096
You can’t perform that action at this time.
0 commit comments