Skip to content

Commit

Permalink
Win32: Fixed build
Browse files Browse the repository at this point in the history
Missing extern "C".
  • Loading branch information
skyjake committed Apr 24, 2012
1 parent 0cd1d42 commit ccd1ad2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doomsday/engine/portable/include/def_main.h
Expand Up @@ -26,6 +26,10 @@
#include "def_data.h"
#include "stringarray.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef struct sfxinfo_s {
void* data; /// Pointer to sound data.
lumpnum_t lumpNum;
Expand Down Expand Up @@ -122,4 +126,8 @@ StringArray* Def_ListStateIDs(void);

D_CMD(ListMobjs);

#ifdef __cplusplus
} // extern "C"
#endif

#endif /* LIBDENG_DEFINITIONS_MAIN_H */

0 comments on commit ccd1ad2

Please sign in to comment.