Procházet zdrojové kódy

Default functions are already declared by the first SDL_dynapi_procs.h include

Anonymous Maarten před 1 rokem
rodič
revize
173c168ff4
1 změnil soubory, kde provedl 0 přidání a 5 odebrání
  1. 0 5
      src/dynapi/SDL_dynapi.c

+ 0 - 5
src/dynapi/SDL_dynapi.c

@@ -194,11 +194,6 @@ typedef struct
 #undef SDL_DYNAPI_PROC
 } SDL_DYNAPI_jump_table;
 
-// Predeclare the default functions for initializing the jump table.
-#define SDL_DYNAPI_PROC(rc, fn, params, args, ret) static rc SDLCALL fn##_DEFAULT params;
-#include "SDL_dynapi_procs.h"
-#undef SDL_DYNAPI_PROC
-
 // The actual jump table.
 static SDL_DYNAPI_jump_table jump_table = {
 #define SDL_DYNAPI_PROC(rc, fn, params, args, ret) fn##_DEFAULT,