fixed code for an old gcc compiler that couldn't recognize x86 inline assembly containing the rep prefix on the same line as the movXX and stoXX instructions.

This commit is contained in:
2014-10-17 15:37:36 +00:00
parent a842cf0767
commit e7287cb52c
3 changed files with 20 additions and 9 deletions

View File

@ -15,6 +15,8 @@
#include <signal.h>
#include <locale.h>
#include <stdio.h> /* TODO: remove this header file */
#if defined(_WIN32)
# include <winsock2.h>
# include <windows.h>
@ -377,6 +379,7 @@ static int daemonize (int devnull)
int xxxx (void* ctx, qse_env_char_t** envir)
{
/* NOTE: this is for experiment only */
extern char** environ;
char buf[1000];
char* cl;