Skip to content

Commit

Permalink
remove extern "C" from base/base64.h for avoiding base64 function sym…
Browse files Browse the repository at this point in the history
…bols conflict at linking libraries. (#20276)
  • Loading branch information
Naruto authored and minggo committed Oct 31, 2019
1 parent ab95b95 commit 95ccd7f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cocos/base/base64.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ THE SOFTWARE.
/// @cond DO_NOT_SHOW

#include "platform/CCPlatformMacros.h"

#ifdef __cplusplus
extern "C" {
#endif

namespace cocos2d {

Expand Down Expand Up @@ -62,9 +58,6 @@ int CC_DLL base64Encode(const unsigned char *in, unsigned int inLength, char **o

}//namespace cocos2d

#ifdef __cplusplus
}
#endif

/// @endcond
#endif // __SUPPORT_BASE64_H__

0 comments on commit 95ccd7f

Please sign in to comment.