comparison dw.h @ 1600:cbfdd56e3e72

Fixed building dwcompat with Watcom on OS/2. Fixed unsupported compilers for deprecation having incorrect macro.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 25 Feb 2012 23:35:59 +0000
parents d2864925afb9
children 71e0a3ad07f7
comparison
equal deleted inserted replaced
1599:d2864925afb9 1600:cbfdd56e3e72
1453 # else 1453 # else
1454 # define DW_DEPRECATED(func, message) func __attribute__ ((deprecated)) 1454 # define DW_DEPRECATED(func, message) func __attribute__ ((deprecated))
1455 # endif 1455 # endif
1456 #else 1456 #else
1457 /* Compiler without deprecation support */ 1457 /* Compiler without deprecation support */
1458 #define DW_DEPRECATED(func) func 1458 #define DW_DEPRECATED(func, message) func
1459 #endif 1459 #endif
1460 1460
1461 /* Public function prototypes */ 1461 /* Public function prototypes */
1462 void API dw_box_pack_start(HWND box, HWND item, int width, int height, int hsize, int vsize, int pad); 1462 void API dw_box_pack_start(HWND box, HWND item, int width, int height, int hsize, int vsize, int pad);
1463 void API dw_box_pack_end(HWND box, HWND item, int width, int height, int hsize, int vsize, int pad); 1463 void API dw_box_pack_end(HWND box, HWND item, int width, int height, int hsize, int vsize, int pad);