Browse Source

obs-d3d11: Use cinttypes header (mingw)

There appears to be a bug with mingw where including the regular C
inttypes.h won't work; instead you have to use the 'cinttypes' C++
version.
martell 10 years ago
parent
commit
d1a1a84722
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libobs-d3d11/d3d11-subsystem.cpp

+ 1 - 1
libobs-d3d11/d3d11-subsystem.cpp

@@ -15,7 +15,7 @@
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ******************************************************************************/
 
-#include <inttypes.h>
+#include <cinttypes>
 #include <util/base.h>
 #include <util/platform.h>
 #include <graphics/matrix3.h>