Fossil

Check-in [19b2b2403c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Revert [b7625d8d8c], instead make sure the correct header file is included for Cygwin.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 19b2b2403cc24fba06770df9839a8250c5c93432
User & Date: jan.nijtmans 2013-10-03 14:59:11.095
Context
2013-10-04
02:50
Consolidate all the Cygwin-specific preprocessor directives into one file and include it where necessary. ... (check-in: 816e893d3b user: mistachkin tags: trunk)
2013-10-03
14:59
Revert [b7625d8d8c], instead make sure the correct header file is included for Cygwin. ... (check-in: 19b2b2403c user: jan.nijtmans tags: trunk)
2013-10-02
11:33
Fix typos in the server.wiki document. ... (check-in: e3a2d8f381 user: drh tags: trunk)
2013-09-12
09:06
Let "fossil version -v" report the real Tcl version running, not the version of the Tcl (stub) library it was compiled with. ... (check-in: 86a8e1d923 user: jan.nijtmans tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/cgi.c.
39
40
41
42
43
44
45

46
47
48
49
50
51
52
53
54
55
#endif
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "cgi.h"
#ifdef __CYGWIN__

  __declspec(dllimport) extern __stdcall int ShellExecuteW(void *, void *,
      void *, void *, void *, int);
  __declspec(dllimport) extern __stdcall size_t wcslen(const wchar_t *);
#endif

#if INTERFACE
/*
** Shortcuts for cgi_parameter.  P("x") returns the value of query parameter
** or cookie "x", or NULL if there is no such parameter or cookie.  PD("x","y")
** does the same except "y" is returned in place of NULL if there is not match.







>


<







39
40
41
42
43
44
45
46
47
48

49
50
51
52
53
54
55
#endif
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "cgi.h"
#ifdef __CYGWIN__
# include <wchar.h>
  __declspec(dllimport) extern __stdcall int ShellExecuteW(void *, void *,
      void *, void *, void *, int);

#endif

#if INTERFACE
/*
** Shortcuts for cgi_parameter.  P("x") returns the value of query parameter
** or cookie "x", or NULL if there is no such parameter or cookie.  PD("x","y")
** does the same except "y" is returned in place of NULL if there is not match.