summaryrefslogtreecommitdiff
path: root/ext/mysql/libmysql/mf_path.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysql/libmysql/mf_path.c')
-rw-r--r--ext/mysql/libmysql/mf_path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysql/libmysql/mf_path.c b/ext/mysql/libmysql/mf_path.c
index c81bfaee04..6258c28df9 100644
--- a/ext/mysql/libmysql/mf_path.c
+++ b/ext/mysql/libmysql/mf_path.c
@@ -60,7 +60,7 @@ my_string my_path(my_string to, const char *progname,
/* test if file without filename is found in path */
/* Returns to if found and to has dirpart if found, else NullS */
-#if defined(MSDOS) || defined(__WIN__) || defined(__EMX__)
+#if defined(MSDOS) || defined(__WIN__) || defined(__EMX__) || defined(OS2)
#define F_OK 0
#define PATH_SEP ';'
#define PROGRAM_EXTENSION ".exe"