Module: wine Branch: master Commit: d16c47625f8d9a1b180dd147332329ac61d16ee9 URL: https://gitlab.winehq.org/wine/wine/-/commit/d16c47625f8d9a1b180dd147332329a...
Author: Elizabeth Figura zfigura@codeweavers.com Date: Fri Jun 21 19:19:26 2024 -0500
d3dx9/tests: Define COBJMACROS.
---
dlls/d3dx9_36/tests/line.c | 1 + dlls/d3dx9_36/tests/math.c | 1 + dlls/d3dx9_36/tests/shader.c | 1 + 3 files changed, 3 insertions(+)
diff --git a/dlls/d3dx9_36/tests/line.c b/dlls/d3dx9_36/tests/line.c index 8056e021c95..cdcb91715fe 100644 --- a/dlls/d3dx9_36/tests/line.c +++ b/dlls/d3dx9_36/tests/line.c @@ -16,6 +16,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */
+#define COBJMACROS #include "wine/test.h" #include "d3dx9.h"
diff --git a/dlls/d3dx9_36/tests/math.c b/dlls/d3dx9_36/tests/math.c index 3345c412481..638d2bddc45 100644 --- a/dlls/d3dx9_36/tests/math.c +++ b/dlls/d3dx9_36/tests/math.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */
+#define COBJMACROS #include "wine/test.h" #include "d3dx9.h" #include <math.h> diff --git a/dlls/d3dx9_36/tests/shader.c b/dlls/d3dx9_36/tests/shader.c index 2b40abef53c..f0c03052404 100644 --- a/dlls/d3dx9_36/tests/shader.c +++ b/dlls/d3dx9_36/tests/shader.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */
+#define COBJMACROS #include "wine/test.h" #include "d3dx9.h"