File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,27 +21,6 @@ extern char *sqlite3_win32_utf8_to_mbcs_v2(const char *, int);
2121extern LPWSTR sqlite3_win32_utf8_to_unicode (const char *zText);
2222#endif
2323
24- /* On Windows, we normally run with output mode of TEXT so that \n characters
25- ** are automatically translated into \r\n. However, this behavior needs
26- ** to be disabled in some cases (ex: when generating CSV output and when
27- ** rendering quoted strings that contain \n characters). The following
28- ** routines take care of that.
29- */
30- #if defined(_WIN32) || defined(WIN32)
31- static void setBinaryMode (FILE *file, int isOutput){
32- if ( isOutput ) fflush (file);
33- _setmode (_fileno (file), _O_BINARY);
34- }
35- static void setTextMode (FILE *file, int isOutput){
36- if ( isOutput ) fflush (file);
37- _setmode (_fileno (file), _O_TEXT);
38- }
39- #else
40- # define setBinaryMode (X,Y )
41- # define setTextMode (X,Y )
42- #endif
43-
44-
4524enum ColType { CT_NONE , CT_INT , CT_REAL , CT_TEXT };
4625
4726// Number of rows to examine when determining column types
You can’t perform that action at this time.
0 commit comments