xref: /haiku/headers/libs/agg/agg_config.h (revision 893988af824e65e49e55f517b157db8386e8002b)
1 #ifndef AGG_CONFIG_INCLUDED
2 #define AGG_CONFIG_INCLUDED
3 
4 // This file can be used to redefine the default basic types such as:
5 //
6 // AGG_INT8
7 // AGG_INT8U
8 // AGG_INT16
9 // AGG_INT16U
10 // AGG_INT32
11 // AGG_INT32U
12 // AGG_INT64
13 // AGG_INT64U
14 //
15 // Just replace this file with new defines if necessary.
16 // For example, if your compiler doesn't have a 64 bit integer type
17 // you can still use AGG if you define the follows:
18 //
19 // #define AGG_INT64  int
20 // #define AGG_INT64U unsigned
21 //
22 // It will result in overflow in 16 bit-per-component image/pattern resampling
23 // but it won't result any crash and the rest of the library will remain
24 // fully functional.
25 
26 #endif
27