Browse Source

added extern "C" for C++ (bug 930933)

tags/R300_DRIVER_0
Brian Paul 21 years ago
parent
commit
5eb921382f
1 changed files with 12 additions and 4 deletions
  1. 12
    4
      include/GL/miniglx.h

+ 12
- 4
include/GL/miniglx.h View File

@@ -1,10 +1,8 @@
/* $Id: miniglx.h,v 1.3 2004/03/24 15:59:44 brianp Exp $ */

/*
* Mesa 3-D graphics library
* Version: 5.0
* Version: 6.1
*
* Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -39,6 +37,12 @@
#include <GL/gl.h>
#include <stdlib.h>


#ifdef __cplusplus
extern "C" {
#endif


/**
* \name Replacement Xlib/GLX types
*/
@@ -439,4 +443,8 @@ glXGetVisualFromFBConfig( Display *dpy, GLXFBConfig config );
/*@}*/


#ifdef __cplusplus
}
#endif

#endif /* MINIGLX_H */

Loading…
Cancel
Save