----- Original Message -----
> Updated Branches:
>   refs/heads/master a79a638d8 -> 53ebc2f72
>
>
> TS-672 cleanup Win32 references
>
> nuke win32 completely.
[snip]
> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/53ebc2f7/mgmt/api/include/mgmtapi.h
> ----------------------------------------------------------------------
> diff --git a/mgmt/api/include/mgmtapi.h b/mgmt/api/include/mgmtapi.h
> index bc4ca0b..8f51e97 100644
> --- a/mgmt/api/include/mgmtapi.h
> +++ b/mgmt/api/include/mgmtapi.h
> @@ -39,21 +39,10 @@
>   * System Specific Items
>   ***************************************************************************/
>
> -#if defined (_WIN32) && defined (_TS_EXPORT)
> -#define tsapi __declspec( dllexport )
> -#elif defined (_WIN32)
> -#define tsapi __declspec( dllimport )
> -#else
>  #define tsapi
> -#endif
>
> -#if defined (_WIN32)
> -#define inkexp __declspec( dllexport )
> -#define inkimp __declspec( dllimport )
> -#else
>  #define inkexp
>  #define inkimp
> -#endif
>
>  #if !defined(linux)
>  #if defined (__SUNPRO_CC) || (defined (__GNUC__) || !
>  defined(__cplusplus))
>

aside from making certain things more obvious, this macro only
existed for the sake of WIN32. Now, I still think it makes sense
to retain it, because it still makes these things more obvious,
and also because one day we might want to try and port ATS to
Windows again ;)

--
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.ga...@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE

Reply via email to