Skip to content

Commit 4b7972a

Browse files
author
Clement Champetier
committed
common: use __WINDOWS__ macro when define value of AvExport
1 parent ed32e8c commit 4b7972a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AvTranscoder/common.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extern "C" {
2323
#ifdef SWIG
2424
#define AvExport
2525
#else
26-
#if ( defined( WIN32 ) || defined( WIN64 ) || defined( _WIN32 ) || defined( _WIN64 ) || defined( __WINDOWS__ ) || defined( __TOS_WIN__ ) || defined( __WIN32__ ) )
26+
#if defined( __WINDOWS__ )
2727
#define AvExport __declspec( dllexport )
2828
#elif defined( __GNUC__ ) // Add compiler definition here...
2929
#if __GNUC__ - 0 > 3 || ( __GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 > 2 )

0 commit comments

Comments
 (0)