Index: fpdfsdk/include/fsdk_define.h |
diff --git a/fpdfsdk/include/fsdk_define.h b/fpdfsdk/include/fsdk_define.h |
index cc8c12d50f73c2fb563a5557d58e5022f92aa89c..e001e751de08d2a0a4218ee7df10abe48e0b5c11 100644 |
--- a/fpdfsdk/include/fsdk_define.h |
+++ b/fpdfsdk/include/fsdk_define.h |
@@ -29,19 +29,15 @@ |
#include <math.h> |
#endif |
-#ifndef FX_ARGBTOCOLORREF |
-/** @brief Convert a #FX_ARGB to a #FX_COLORREF. */ |
+// Convert a #FX_ARGB to a #FX_COLORREF. |
#define FX_ARGBTOCOLORREF(argb) \ |
((((FX_DWORD)argb & 0x00FF0000) >> 16) | ((FX_DWORD)argb & 0x0000FF00) | \ |
(((FX_DWORD)argb & 0x000000FF) << 16)) |
-#endif |
-#ifndef FX_COLORREFTOARGB |
-/** @brief Convert a #FX_COLORREF to a #FX_ARGB. */ |
+// Convert a #FX_COLORREF to a #FX_ARGB. |
#define FX_COLORREFTOARGB(rgb) \ |
((FX_DWORD)0xFF000000 | (((FX_DWORD)rgb & 0x000000FF) << 16) | \ |
((FX_DWORD)rgb & 0x0000FF00) | (((FX_DWORD)rgb & 0x00FF0000) >> 16)) |
-#endif |
typedef unsigned int FX_UINT; |
class CRenderContext; |