Fix Linux compile issues.
This commit is contained in:
parent
8830b99454
commit
71fd5c5aee
5 changed files with 6 additions and 5 deletions
|
|
@ -41,6 +41,6 @@ struct DriverInstances * SetupOutDriver( );
|
|||
void RegOutDriver( const char * ron, struct DriverInstances * (*Init)( ) );
|
||||
|
||||
#define REGISTER_OUT_DRIVER( name ) \
|
||||
void REGISTER##name() __attribute__((constructor)) { RegOutDriver( #name, name ); }
|
||||
void __attribute__((constructor)) REGISTER##name() { RegOutDriver( #name, name ); }
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue