mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 18:00:10 +01:00
Make it possible to use gbm with c++
NOTE: This is a candiate for 7.11
This commit is contained in:
parent
d84791a72b
commit
496bf3822a
1 changed files with 9 additions and 0 deletions
|
|
@ -28,6 +28,11 @@
|
|||
#ifndef _GBM_H_
|
||||
#define _GBM_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
#define __GBM__ 1
|
||||
|
||||
#include <stdint.h>
|
||||
|
|
@ -97,4 +102,8 @@ gbm_bo_get_handle(struct gbm_bo *bo);
|
|||
void
|
||||
gbm_bo_destroy(struct gbm_bo *bo);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue