Changeset 7506


Ignore:
Timestamp:
06/27/18 22:20:01 (3 weeks ago)
Author:
baker
Message:

define the PSNADBOARD_API functions with extern "C" linkage to match their declarations in PSNADBoard.h (cures link failure on SunStudio? CC)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/data_sources/psnadsend/PsnAdBoard/PSNADBoard.cpp

    r6521 r7506  
    55CPSNADBoard *adcControl = NULL; 
    66 
     7#ifdef __cplusplus 
     8extern "C" { 
     9#endif 
     10 
    711#ifdef WIN32_64 
    8 extern "C" int APIENTRY 
     12int APIENTRY 
    913DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved) 
    1014{ 
     
    105109} 
    106110 
     111#ifdef __cplusplus 
     112} 
     113#endif 
     114 
    107115CPSNADBoard::CPSNADBoard() 
    108116{  
Note: See TracChangeset for help on using the changeset viewer.