Fix Linux compile issues.

This commit is contained in:
cnlohr 2017-09-10 23:02:33 -04:00
parent 8830b99454
commit 71fd5c5aee
5 changed files with 6 additions and 5 deletions

View file

@ -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