Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 276404
Collapse All | Expand All

(-)../lcms-1.18/src/cmsio1.c (-6 / +6 lines)
Lines 22-30 Link Here
22
22
23
// ICC profile serialization
23
// ICC profile serialization
24
24
25
#ifndef __BEOS__
26
#define _XOPEN_SOURCE
27
#endif
25
28
29
#define _BSD_SOURCE
30
#include <string.h>
26
#include "lcms.h"
31
#include "lcms.h"
27
32
33
28
// ----------------------------------------------------------------- Tag Serialization
34
// ----------------------------------------------------------------- Tag Serialization
29
35
30
// Alignment of ICC file format uses 4 bytes DWORD
36
// Alignment of ICC file format uses 4 bytes DWORD
Lines 35-47 Link Here
35
static int GlobalLanguageCode;   // Language & country descriptors, for ICC 4.0 support
41
static int GlobalLanguageCode;   // Language & country descriptors, for ICC 4.0 support
36
static int GlobalCountryCode;
42
static int GlobalCountryCode;
37
43
38
                           
39
#ifdef __BEOS__
44
#ifdef __BEOS__
40
#       define USE_CUSTOM_SWAB  1
41
#endif
42
43
44
#ifdef USE_CUSTOM_SWAB
45
45
46
// Replacement to swab function, thanks to YNOP
46
// Replacement to swab function, thanks to YNOP
47
// for providing the BeOS port
47
// for providing the BeOS port

Return to bug 276404