summaryrefslogtreecommitdiff
path: root/gui.c
diff options
context:
space:
mode:
authornotaz2011-09-03 00:58:39 +0300
committernotaz2011-09-03 01:05:41 +0300
commiteac69717338922e6bb55076e57d7674080291fe9 (patch)
tree2e068c36f3c06b06ea9c349fdab222ee70e52335 /gui.c
parentee0a3871f9982215361cd6bb4758eb9a7c7d8413 (diff)
downloadpicogpsp-eac69717338922e6bb55076e57d7674080291fe9.tar.gz
picogpsp-eac69717338922e6bb55076e57d7674080291fe9.tar.bz2
picogpsp-eac69717338922e6bb55076e57d7674080291fe9.zip
revive PC build, support Linux
Diffstat (limited to 'gui.c')
-rw-r--r--gui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui.c b/gui.c
index 165c669..a08bb63 100644
--- a/gui.c
+++ b/gui.c
@@ -832,10 +832,10 @@ s32 load_config_file()
{
u8 config_path[512];
- #if (defined(PSP_BUILD) || defined(ARM_ARCH)) && !defined(_WIN32_WCE)
- sprintf(config_path, "%s/%s", main_path, GPSP_CONFIG_FILENAME);
- #else
+ #if defined(_WIN32) || defined(_WIN32_WCE)
sprintf(config_path, "%s\\%s", main_path, GPSP_CONFIG_FILENAME);
+ #else
+ sprintf(config_path, "%s/%s", main_path, GPSP_CONFIG_FILENAME);
#endif
file_open(config_file, config_path, read);