xmesa: do not wrap header inclusion in extern "C"

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
Emil Velikov
2015-11-24 16:29:22 +00:00
committed by Emil Velikov
parent 2af3a0ca6f
commit cf215d92f6

View File

@@ -64,15 +64,15 @@ and create a window, you must do the following to use the X/Mesa interface:
#ifndef XMESA_H #ifndef XMESA_H
#define XMESA_H #define XMESA_H
#ifdef __cplusplus
extern "C" {
#endif
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/Xutil.h> #include <X11/Xutil.h>
#include "xmesa_x.h" #include "xmesa_x.h"
#include "GL/gl.h" #include "GL/gl.h"
#ifdef __cplusplus
extern "C" {
#endif
#define XMESA_MAJOR_VERSION 6 #define XMESA_MAJOR_VERSION 6
#define XMESA_MINOR_VERSION 3 #define XMESA_MINOR_VERSION 3