Commit 07d36fb9 authored by unknown's avatar unknown

Enable ifdef for windows specific functions

parent 60ee2bbe
...@@ -1048,7 +1048,7 @@ int do_source(struct st_query *query) ...@@ -1048,7 +1048,7 @@ int do_source(struct st_query *query)
return open_file(name); return open_file(name);
} }
//#ifdef __WIN__ #ifdef __WIN__
/* Variables used for temuprary sh files used for emulating Unix on Windows */ /* Variables used for temuprary sh files used for emulating Unix on Windows */
char tmp_sh_name[64], tmp_sh_cmd[70]; char tmp_sh_name[64], tmp_sh_cmd[70];
...@@ -1064,7 +1064,7 @@ static void free_tmp_sh_file() ...@@ -1064,7 +1064,7 @@ static void free_tmp_sh_file()
{ {
my_delete(tmp_sh_name, MYF(0)); my_delete(tmp_sh_name, MYF(0));
} }
#endif
FILE* my_popen(DYNAMIC_STRING* ds_cmd, const char* mode) FILE* my_popen(DYNAMIC_STRING* ds_cmd, const char* mode)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment