Browse files

build: fixed build issue in certain cases

When including DynamicDll.h where system.h was not already pulled in, defines
would be missing. In this case SDL defines were missing from DllImageLib when
working on a new TextureBundle format, leading to a (entirely non-obvious)
build issue with video/Teletext.cpp.
  • Loading branch information...
1 parent ab522c3 commit bf9dd471187f56eeb35a6f5ce4a3c39faaa7e72e theuni committed Feb 7, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 xbmc/cores/DllLoader/LibraryLoader.h
@@ -22,9 +22,8 @@
-#ifndef _LINUX
-#include "system.h" // WIN32INCLUDES - needed for HMODULE
+#include "system.h"
+#ifdef _LINUX
#include "PlatformDefs.h"

0 comments on commit bf9dd47

Please sign in to comment.