Fossil SCM

added build environment for PellesC

Ratte 2010-09-26 16:33 wolfgangFormat2CSS_2
Commit c343cd9873b3c43b6e484621d81e65dca0d27535
+3
--- src/cgi.c
+++ src/cgi.c
@@ -42,10 +42,13 @@
4242
#endif
4343
#include <time.h>
4444
#include <stdio.h>
4545
#include <stdlib.h>
4646
#include <unistd.h>
47
+#if defined (__POCC__)
48
+# undef INTERFACE
49
+#endif
4750
#include "cgi.h"
4851
4952
#if INTERFACE
5053
/*
5154
** Shortcuts for cgi_parameter. P("x") returns the value of query parameter
5255
--- src/cgi.c
+++ src/cgi.c
@@ -42,10 +42,13 @@
42 #endif
43 #include <time.h>
44 #include <stdio.h>
45 #include <stdlib.h>
46 #include <unistd.h>
 
 
 
47 #include "cgi.h"
48
49 #if INTERFACE
50 /*
51 ** Shortcuts for cgi_parameter. P("x") returns the value of query parameter
52
--- src/cgi.c
+++ src/cgi.c
@@ -42,10 +42,13 @@
42 #endif
43 #include <time.h>
44 #include <stdio.h>
45 #include <stdlib.h>
46 #include <unistd.h>
47 #if defined (__POCC__)
48 # undef INTERFACE
49 #endif
50 #include "cgi.h"
51
52 #if INTERFACE
53 /*
54 ** Shortcuts for cgi_parameter. P("x") returns the value of query parameter
55
+2 -2
--- src/config.h
+++ src/config.h
@@ -36,12 +36,12 @@
3636
#include <stdlib.h>
3737
#include <ctype.h>
3838
#include <string.h>
3939
#include <stdarg.h>
4040
#include <assert.h>
41
-#if defined( __MINGW32__) || defined(__DMC__) || defined(_MSC_VER)
42
-# if defined(__DMC__) || defined(_MSC_VER)
41
+#if defined( __MINGW32__) || defined(__DMC__) || defined(_MSC_VER) || defined(__POCC__)
42
+# if defined(__DMC__) || defined(_MSC_VER) || defined(__POCC__)
4343
typedef int socklen_t;
4444
# endif
4545
# ifndef _WIN32
4646
# define _WIN32
4747
# endif
4848
4949
ADDED win/Makefile.PellesCGMake
--- src/config.h
+++ src/config.h
@@ -36,12 +36,12 @@
36 #include <stdlib.h>
37 #include <ctype.h>
38 #include <string.h>
39 #include <stdarg.h>
40 #include <assert.h>
41 #if defined( __MINGW32__) || defined(__DMC__) || defined(_MSC_VER)
42 # if defined(__DMC__) || defined(_MSC_VER)
43 typedef int socklen_t;
44 # endif
45 # ifndef _WIN32
46 # define _WIN32
47 # endif
48
49 DDED win/Makefile.PellesCGMake
--- src/config.h
+++ src/config.h
@@ -36,12 +36,12 @@
36 #include <stdlib.h>
37 #include <ctype.h>
38 #include <string.h>
39 #include <stdarg.h>
40 #include <assert.h>
41 #if defined( __MINGW32__) || defined(__DMC__) || defined(_MSC_VER) || defined(__POCC__)
42 # if defined(__DMC__) || defined(_MSC_VER) || defined(__POCC__)
43 typedef int socklen_t;
44 # endif
45 # ifndef _WIN32
46 # define _WIN32
47 # endif
48
49 DDED win/Makefile.PellesCGMake
--- a/win/Makefile.PellesCGMake
+++ b/win/Makefile.PellesCGMake
@@ -0,0 +1,40 @@
1
+# LITE3.h ../src/jim.h VERSION.h
2
+ -DSQLITE_ENABjim
3
+#
4
+# HowTo
5
+# -----
6
+#
7
+
8
+
9
+
10
+
11
+
12
+# =sqlite3DEFINES=C# LITE3.h ../src/jim.hh VERSION.h
13
+ -DSQLITE_ENABjim
14
+#
15
+# HowTo
16
+# -----
17
+#
18
+
19
+
20
+
21
+
22
+
23
+# =sqlite3DEFC
24
+SRC=add.c allrepo.c attach.c bag.c blob.c branch.c browse.c captcha.c cgi.c checkin.c checkout.c clearsign.c clone.c comformat.c configure.c content.c db.c delta.c deltacmd.c descendants.c diff.c diffcmd.c doc.c encode.c file.c finfo.c graph.c http.c http_socket.c http_ssl.c http_transport.c info.c login.c main.c manifest.c md5.c merge.c merge3.c name.c pivot.c popen.c pqueue.c printf.c rebuild.c report.c rss.c schema.c search.c setup.c sha1.c shun.c skins.c stat.c style.c sync.c tag.c th_main.c timeline.c tkt.c tktsetup.c undo.c update.c url.c user.c verify.c vfile.c wiki.c wikiformat.c winhttp.c xfer.c zip.c
25
+ORIGSRC=$(foreach sf,$(m.h VER
26
+# LITE3.h ../src/jim.h VERSION.h
27
+ -DSQLITE_ENABjim
28
+#
29
+# HowTo
30
+# -----
31
+#
32
+
33
+
34
+
35
+src/jim.hh VERS2t@1YS,3Z@1bl,1q68LG;
36
+
37
+
38
+
39
+# Profile/Ratte/data/organize/fossil-w32LITE3.h ..B=$(PellesCDir)\Lib\Win;$(PellesCDir)\Lib
40
+LINKFLAGS=-machine:ix86 -subsystem:consolex86-coff -Ot -W1 -Gd -Go /Ze
--- a/win/Makefile.PellesCGMake
+++ b/win/Makefile.PellesCGMake
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- a/win/Makefile.PellesCGMake
+++ b/win/Makefile.PellesCGMake
@@ -0,0 +1,40 @@
1 # LITE3.h ../src/jim.h VERSION.h
2 -DSQLITE_ENABjim
3 #
4 # HowTo
5 # -----
6 #
7
8
9
10
11
12 # =sqlite3DEFINES=C# LITE3.h ../src/jim.hh VERSION.h
13 -DSQLITE_ENABjim
14 #
15 # HowTo
16 # -----
17 #
18
19
20
21
22
23 # =sqlite3DEFC
24 SRC=add.c allrepo.c attach.c bag.c blob.c branch.c browse.c captcha.c cgi.c checkin.c checkout.c clearsign.c clone.c comformat.c configure.c content.c db.c delta.c deltacmd.c descendants.c diff.c diffcmd.c doc.c encode.c file.c finfo.c graph.c http.c http_socket.c http_ssl.c http_transport.c info.c login.c main.c manifest.c md5.c merge.c merge3.c name.c pivot.c popen.c pqueue.c printf.c rebuild.c report.c rss.c schema.c search.c setup.c sha1.c shun.c skins.c stat.c style.c sync.c tag.c th_main.c timeline.c tkt.c tktsetup.c undo.c update.c url.c user.c verify.c vfile.c wiki.c wikiformat.c winhttp.c xfer.c zip.c
25 ORIGSRC=$(foreach sf,$(m.h VER
26 # LITE3.h ../src/jim.h VERSION.h
27 -DSQLITE_ENABjim
28 #
29 # HowTo
30 # -----
31 #
32
33
34
35 src/jim.hh VERS2t@1YS,3Z@1bl,1q68LG;
36
37
38
39 # Profile/Ratte/data/organize/fossil-w32LITE3.h ..B=$(PellesCDir)\Lib\Win;$(PellesCDir)\Lib
40 LINKFLAGS=-machine:ix86 -subsystem:consolex86-coff -Ot -W1 -Gd -Go /Ze

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button