d3d1x: define GUIDs in the normal way

This commit is contained in:
Luca Barbieri 2010-09-22 19:31:54 +02:00
parent 3d4a15dfab
commit ab5e9a726d
3 changed files with 0 additions and 16 deletions

View file

@ -42,20 +42,6 @@ namespace std
#include <utility>
#define WIN32_LEAN_AND_MEAN
#define INITGUID
#include <guiddef.h>
// just replicate GUIDs in every object file to avoid the hassle of having to pull in a library for them
#ifdef __GNUC__
#define ATTRIBUTE_UNUSED __attribute__((unused))
#else
#define ATTRIBUTE_UNUSED
#endif
#undef DEFINE_GUID
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
static const GUID name ATTRIBUTE_UNUSED = \
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
#include <objbase.h>
#include <specstrings.h>

View file

@ -24,7 +24,6 @@
*
**************************************************************************/
#define INITGUID
#include "d3d10app.h"
#include <X11/Xlib.h>
#include <GL/glx.h>

View file

@ -1,4 +1,3 @@
#define INITGUID
#include "d3d11app.h"
#include <X11/Xlib.h>
#include <GL/glx.h>