aboutsummaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose/files/patch-include_VBox_VBoxGL2D.h
blob: a319e03b6f8a8142b09ed1028b8afc34d4c876fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Fix build with Qt5 5.13, which defined GLsizeiptr already.

Obtained from:
	https://www.mail-archive.com/pld-cvs-commit@lists.pld-linux.org/msg436220.html

--- include/VBox/VBoxGL2D.h.orig	2019-09-29 14:31:16 UTC
+++ include/VBox/VBoxGL2D.h
@@ -107,7 +107,7 @@ typedef GLvoid (APIENTRY *PFNVBOXVHWA_UNIFORM3I)(GLint
 typedef GLvoid (APIENTRY *PFNVBOXVHWA_UNIFORM4I)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
 
 /* GL_ARB_pixel_buffer_object*/
-#ifndef Q_WS_MAC
+#if 0
 /* apears to be defined on mac */
 typedef ptrdiff_t GLsizeiptr;
 #endif