Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fee77ec0 authored by Mathias Agopian's avatar Mathias Agopian
Browse files

don't use cdefs.h as it breaks the windows build.

parent a09fbd16
Loading
Loading
Loading
Loading
+6 −4
Original line number Original line Diff line number Diff line
@@ -17,9 +17,9 @@
#ifndef NATIVE_HANDLE_H_
#ifndef NATIVE_HANDLE_H_
#define NATIVE_HANDLE_H_
#define NATIVE_HANDLE_H_


#include <sys/cdefs.h>
#ifdef __cplusplus

extern "C" {
__BEGIN_DECLS
#endif


typedef struct
typedef struct
{
{
@@ -66,6 +66,8 @@ native_handle_t* native_handle_create(int numFds, int numInts);
int native_handle_delete(native_handle_t* h);
int native_handle_delete(native_handle_t* h);




__END_DECLS
#ifdef __cplusplus
}
#endif


#endif /* NATIVE_HANDLE_H_ */
#endif /* NATIVE_HANDLE_H_ */