notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
32x: drc: first implementation finished, no more interpreter dep
[libpicofe.git]
/
common
/
config.c
diff --git
a/common/config.c
b/common/config.c
index
b2f55cc
..
a6d4f1d
100644
(file)
--- a/
common/config.c
+++ b/
common/config.c
@@
-21,7
+21,12
@@
static char *mystrip(char *str);
#include "emu.h"
#include <pico/pico.h>
#include "emu.h"
#include <pico/pico.h>
+// always output DOS endlines
+#ifdef _WIN32
+#define NL "\n"
+#else
#define NL "\r\n"
#define NL "\r\n"
+#endif
static int seek_sect(FILE *f, const char *section)
{
static int seek_sect(FILE *f, const char *section)
{