#include <stdio.h> to fix VS2010 build, as this header uses the API.

This commit is contained in:
unknown 2015-01-29 10:46:42 -05:00
parent d5d981a256
commit b9d1eb4f38
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@
#include <oleauto.h>
//#include <wmsstd.h> <-- only needed for SAFE_RELEASE(x)
/* fixes undefined FILE, etc. type errors in MSVC 2010 build -- cxd4 */
#include <stdio.h>
#ifndef SAFE_RELEASE // when Windows Media Device M? is not present
#define SAFE_RELEASE(x) \
if(x != NULL) \