mirror of
https://github.com/facebook/zstd.git
synced 2025-10-18 00:03:50 -04:00
Update compiler.h
Added a comment explaining the purpose of the WIN_CDECL macro
This commit is contained in:
parent
2962fda93f
commit
8c115cbe23
@ -38,6 +38,11 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
On MSVC qsort requires functions passed to it use the __cdecl calling conversion(CC).
|
||||||
|
This explictly marks such functions as __cdecl so that the code will still compile
|
||||||
|
if a CC other than __cdecl has been made the default.
|
||||||
|
*/
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
# define WIN_CDECL __cdecl
|
# define WIN_CDECL __cdecl
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user