The R Project SVN R

Rev

Rev 35930 | Rev 36512 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35930 Rev 36498
Line 29... Line 29...
29
 
29
 
30
#ifdef HAVE_CONFIG_H
30
#ifdef HAVE_CONFIG_H
31
#include <config.h>
31
#include <config.h>
32
#endif
32
#endif
33
 
33
 
-
 
34
#ifdef HAVE_GLIBC2
-
 
35
# define _BSD_SOURCE /* for M_PI */
-
 
36
#endif
34
 
37
 
35
#include <X11/Xlib.h>
38
#include <X11/Xlib.h>
36
#include <X11/Xutil.h>
39
#include <X11/Xutil.h>
37
#include <X11/Xatom.h>
40
#include <X11/Xatom.h>
38
#include <stdlib.h>
41
#include <stdlib.h>
39
#include <stdio.h>
42
#include <stdio.h>
40
#include <math.h>
43
#include <math.h>
41
#include <string.h>
44
#include <string.h>
42
#if defined(HAVE_DECL_STRDUP) && !HAVE_DECL_STRDUP
45
#if defined(HAVE_DECL_STRDUP) && !HAVE_DECL_STRDUP
-
 
46
#undef strdup
43
extern char *strdup(const char *s1);
47
extern char *strdup(const char *s1);
44
#endif
48
#endif
45
 
49
 
46
#ifdef SUPPORT_MBCS
50
#ifdef SUPPORT_MBCS
47
# define USE_FONTSET 1
51
# define USE_FONTSET 1