blob: a3d38fb8567e73f864ec982ca4efea449e8b3469 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
--- variables.c.orig Sat Dec 11 03:35:04 1993
+++ variables.c Fri Aug 16 17:38:24 1996
@@ -7,17 +7,18 @@
******************************************************************************
*/
-#ifdef GLOBAL
-#undef GLOBAL
-#endif
-#define GLOBAL
-
#include <pwd.h>
#include <stdio.h>
#include <string.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include "xmahjongg.h"
+
+#ifdef GLOBAL
+#undef GLOBAL
+#endif
+#define GLOBAL
+
#include "variables.h"
variables()
--- xmahjongg.h.orig Sun Jun 18 03:07:25 1995
+++ xmahjongg.h Fri Aug 16 17:47:28 1996
@@ -14,7 +14,9 @@
/*
* Path used for layout files
*/
+#ifndef LAYOUT /* to be passed from Imakefile */
#define LAYOUT "/usr/X11R6/lib/xmahjongg"
+#endif
/*
* Fundamental definitions
@@ -34,6 +36,7 @@
#define FREE 0
#define USED 1
+#define GLOBAL extern
/*
* Dimensions for boxes, tiles and options
*/
|