fix compilation on OS != Windows

SVN revision: 32026
expedite-1.1
doursse 16 years ago committed by doursse
parent 6c2924e346
commit 99e58697df
  1. 2
      configure.in
  2. 6
      src/bin/engine_software_16_ddraw.c

@ -101,7 +101,7 @@ AC_CHECK_HEADER(Evas_Engine_Software_DDraw.h,
have_ddraw_16="no"
AC_CHECK_HEADER(Evas_Engine_Software_16_DDraw.h,
[ AC_DEFINE(HAVE_SOFTWARE_DDRAW, 1, [Evas 16bit Software DirectDraw Engine Support])
[ AC_DEFINE(HAVE_SOFTWARE_16_DDRAW, 1, [Evas 16bit Software DirectDraw Engine Support])
have_ddraw_16="yes"
ddraw_16_libs="-lddraw -ldxguid" ],
[ dummy=no ],

@ -1,16 +1,16 @@
#include "main.h"
#ifndef HAVE_SOFTWARE_DDRAW
#ifndef HAVE_SOFTWARE_16_DDRAW
int
engine_software_ddraw_args(int argc, char **argv)
engine_software_16_ddraw_args(int argc, char **argv)
{
fprintf(stderr, "ERROR: No 16bits Software DirectDraw Engine built\n");
return 0;
}
void
engine_software_ddraw_loop(void)
engine_software_16_ddraw_loop(void)
{
}
#else

Loading…
Cancel
Save