summaryrefslogtreecommitdiff
path: root/src/VBox/GuestHost/OpenGL/packer/packer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/GuestHost/OpenGL/packer/packer.h')
-rw-r--r--src/VBox/GuestHost/OpenGL/packer/packer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/VBox/GuestHost/OpenGL/packer/packer.h b/src/VBox/GuestHost/OpenGL/packer/packer.h
index 965799a0..f70a5bb4 100644
--- a/src/VBox/GuestHost/OpenGL/packer/packer.h
+++ b/src/VBox/GuestHost/OpenGL/packer/packer.h
@@ -18,6 +18,10 @@
#include "packer_extensions.h"
#include "cr_mem.h"
+#ifndef IN_RING0
extern void __PackError( int line, const char *file, GLenum error, const char *info );
+#else
+# define __PackError( line, file, error, info) do { AssertReleaseFailed(); } while (0)
+#endif
#endif /* CR_PACKER_H */