ソースを参照

Include SDL_internal.h before checking HAVE_FRIBIDI_H

This happened to work because of precompiled headers
Anonymous Maarten 5 ヶ月 前
コミット
e1fde46a6a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/core/unix/SDL_fribidi.c

+ 1 - 1
src/core/unix/SDL_fribidi.c

@@ -18,10 +18,10 @@
      misrepresented as being the original software.
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
   3. This notice may not be removed or altered from any source distribution.
 */
 */
+#include "SDL_internal.h"
 
 
 #ifdef HAVE_FRIBIDI_H
 #ifdef HAVE_FRIBIDI_H
 
 
-#include "SDL_internal.h"
 #include "SDL_fribidi.h"
 #include "SDL_fribidi.h"
 #include <fribidi.h>
 #include <fribidi.h>