X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Flib%2Fi386%2Fv3-xed-compat.c;h=6ce5f107ba64f93cdfd71e13739f3d8de6bffd1a;hb=0246f0904a4800dbe1e8e23332d49b468a58f751;hp=7a5f62cec05694c2754302a4f8217c1498f9a6c9;hpb=d711597b8c58d3d06b860462bf965e59dd4f3452;p=palacios.git diff --git a/palacios/lib/i386/v3-xed-compat.c b/palacios/lib/i386/v3-xed-compat.c index 7a5f62c..6ce5f10 100644 --- a/palacios/lib/i386/v3-xed-compat.c +++ b/palacios/lib/i386/v3-xed-compat.c @@ -4,19 +4,19 @@ /* Standard I/O predefined streams */ static FILE _streams = {0, 0, 0, 0, 0, NULL, NULL, 0, 0}; -#ifdef CONFIG_BUILT_IN_STDIN +#ifdef V3_CONFIG_BUILT_IN_STDIN FILE *stdin = (&_streams); #endif -#ifdef CONFIG_BUILT_IN_STDOUT +#ifdef V3_CONFIG_BUILT_IN_STDOUT FILE *stdout = (&_streams); #endif -#ifdef CONFIG_BUILT_IN_STDERR +#ifdef V3_CONFIG_BUILT_IN_STDERR FILE *stderr = (&_streams); #endif -#ifdef CONFIG_BUILT_IN_FPRINTF +#ifdef V3_CONFIG_BUILT_IN_FPRINTF int fprintf(FILE *file, char *fmt, ...) { // PrintDebug("In fprintf!!\n"); return 0; @@ -24,21 +24,21 @@ int fprintf(FILE *file, char *fmt, ...) { } #endif -#ifdef CONFIG_BUILT_IN_PRINTF +#ifdef V3_CONFIG_BUILT_IN_PRINTF int printf(char *fmt, ...) { // PrintDebug("In fprintf!!\n"); return 0; } #endif -#ifdef CONFIG_BUILT_IN_FFLUSH +#ifdef V3_CONFIG_BUILT_IN_FFLUSH int fflush(FILE *stream) { //PrintDebug("In fflush!!\n"); return 0; } #endif -#ifdef CONFIG_BUILT_IN_ABORT +#ifdef V3_CONFIG_BUILT_IN_ABORT void abort(void) { //PrintDebug("Abort!!\n");