~ubuntu-branches/ubuntu/wily/styx/wily

« back to all changes in this revision

Viewing changes to doc/styconf0.htm

  • Committer: Package Import Robot
  • Author(s): Frederik Schüler
  • Date: 2013-12-28 18:20:37 UTC
  • mfrom: (0.1.5)
  • Revision ID: package-import@ubuntu.com-20131228182037-ihsf1de5y1oe24nf
Tags: 2.0.1-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
<br>
42
42
<br>#include &lt;windows.h&gt;
43
43
<br>
44
 
<pre></pre><pre>#define VERSION   "1.7.6"</pre><pre></pre><pre>#else</pre><pre>#ifndef HAVE_CONFIG_H</pre><pre></pre><br>#include &lt;stdio.h&gt;
 
44
<pre></pre><pre>#define VERSION   "1.8.0"</pre><pre></pre><pre>#else</pre><pre>#ifndef HAVE_CONFIG_H</pre><pre></pre><br>#include &lt;stdio.h&gt;
45
45
<br>
46
46
<br>#include &lt;stdlib.h&gt;
47
47
<br>
75
75
<br>
76
76
<br>#include &lt;dlfcn.h&gt;
77
77
<br>
78
 
<pre></pre><pre>#define VERSION   "1.7.6"</pre><pre></pre><pre>#else</pre><br>#include &lt;config.h&gt;
 
78
<pre></pre><pre>#define VERSION   "1.8.0"</pre><pre></pre><pre>#else</pre><br>#include &lt;config.h&gt;
79
79
<br>
80
80
<pre></pre><pre>/* The following is borrowed from w3c-wwwlib. */</pre><pre></pre><pre>/* stdio.h */</pre><pre>#ifdef HAVE_STDIO_H</pre><br>#include &lt;stdio.h&gt;
81
81
<br>
149
149
<br>
150
150
<pre>#else</pre><br>#include &lt;varargs.h&gt;
151
151
<br>
152
 
<pre>#endif</pre><pre></pre><pre>#ifndef HAVE_STRERROR  /* Otherwise use the table */</pre><pre>extern char *sys_errlist[];</pre><pre>extern int sys_nerr;</pre><pre>#endif</pre><pre></pre><pre>#if !defined(HAVE_MEMCPY)</pre><pre>#define memcpy(d, s, n) bcopy((s), (d), (n))</pre><pre>#define memmove(d, s, n) bcopy((s), (d), (n))</pre><pre>#endif</pre><pre></pre><pre>#if !defined(HAVE_MEMCMP)</pre><pre>#define memcmp memcmp_aux</pre><pre>#endif</pre><pre></pre><pre>#if !defined(HAVE_STRDUP)</pre><pre>#define strdup StrCopy</pre><pre>#endif</pre><pre></pre><pre>#if !defined(HAVE_STRSTR)</pre><pre>#define strstr strstr_aux</pre><pre>#endif</pre><pre></pre><pre>#if !defined(HAVE_STRCHR)</pre><pre>#if defined(HAVE_INDEX)</pre><pre>#define strchr index</pre><pre>#else</pre><pre>#define strchr strchr_aux</pre><pre>#endif</pre><pre>#endif</pre><pre></pre><pre>#if !defined(HAVE_STRRCHR)</pre><pre>#if defined(HAVE_RINDEX)</pre><pre>#define strchr rindex</pre><pre>#else</pre><pre>#define strrchr strrchr_aux</pre><pre>#endif</pre><pre>#endif</pre><pre></pre><pre>#if !defined(HAVE_STRCSPN)</pre><pre>#define strcspn strcspn_aux</pre><pre>#endif</pre><pre></pre><pre>#if !defined(HAVE_GETCWD)</pre><pre>#define getcwd getcwd_aux</pre><pre>#endif</pre><pre></pre><pre>//TODO additional workarounds for vprintf ...</pre><pre></pre><pre>#if !defined(HAVE_VSNPRINTF)</pre><pre>#define vsnprintf(s,l,f,a) vsprintf(s,f,a)</pre><pre>#endif</pre><pre></pre><pre>#endif</pre><pre></pre><pre>#endif</pre><pre></pre><pre></pre><pre>/* Patch for problems in glibc6 */</pre><pre>#if defined(__GLIBC__)</pre><pre>#undef S_IFMT</pre><pre>#undef S_IFDIR</pre><pre>#define S_IFMT __S_IFMT</pre><pre>#define S_IFDIR __S_IFDIR</pre><pre>#endif</pre><pre></pre><pre></pre><pre>#ifndef NULL</pre><pre>#define NULL ((void *)0)</pre><pre>#endif</pre><pre></pre>
 
152
<pre>#endif</pre><pre></pre><pre>#ifndef HAVE_STRERROR  /* Otherwise use the table */</pre><pre>extern char *sys_errlist[];</pre><pre>extern int sys_nerr;</pre><pre>#endif</pre><pre></pre><pre>#if !defined(HAVE_MEMCPY)</pre><pre>#define memcpy(d, s, n) bcopy((s), (d), (n))</pre><pre>#define memmove(d, s, n) bcopy((s), (d), (n))</pre><pre>#endif</pre><pre></pre><pre>#if !defined(HAVE_MEMCMP)</pre><pre>#define memcmp memcmp_aux</pre><pre>#endif</pre><pre></pre><pre>#if !defined(HAVE_STRDUP)</pre><pre>#define strdup StrCopy</pre><pre>#endif</pre><pre></pre><pre>#if !defined(HAVE_WCSSTR)</pre><pre>#define wcsstr wcsstr_aux</pre><pre>#endif</pre><pre></pre><pre>#if !defined(HAVE_STRSTR)</pre><pre>#define strstr strstr_aux</pre><pre>#endif</pre><pre></pre><pre>#if !defined(HAVE_STRCHR)</pre><pre>#define wcschr wcschr_aux</pre><pre>#endif</pre><pre></pre><pre>#if !defined(HAVE_STRCHR)</pre><pre>#if defined(HAVE_INDEX)</pre><pre>#define strchr index</pre><pre>#else</pre><pre>#define strchr strchr_aux</pre><pre>#endif</pre><pre>#endif</pre><pre></pre><pre>#if !defined(HAVE_STRRCHR)</pre><pre>#define wcsrchr wcsrchr_aux</pre><pre>#endif</pre><pre></pre><pre>#if !defined(HAVE_STRRCHR)</pre><pre>#if defined(HAVE_RINDEX)</pre><pre>#define strchr rindex</pre><pre>#else</pre><pre>#define strrchr strrchr_aux</pre><pre>#endif</pre><pre>#endif</pre><pre></pre><pre>#if !defined(HAVE_STRCSPN)</pre><pre>#define strcspn strcspn_aux</pre><pre>#endif</pre><pre></pre><pre>#if !defined(HAVE_GETCWD)</pre><pre>#define getcwd getcwd_aux</pre><pre>#endif</pre><pre></pre><pre>//TODO additional workarounds for vprintf ...</pre><pre></pre><pre>#if !defined(HAVE_VSNPRINTF)</pre><pre>#define vsnprintf(s,l,f,a) vsprintf(s,f,a)</pre><pre>#endif</pre><pre></pre><pre>#endif</pre><pre></pre><pre>#endif</pre><pre></pre><pre></pre><pre>/* Patch for problems in glibc6 */</pre><pre>#if defined(__GLIBC__)</pre><pre>#undef S_IFMT</pre><pre>#undef S_IFDIR</pre><pre>#define S_IFMT __S_IFMT</pre><pre>#define S_IFDIR __S_IFDIR</pre><pre>#endif</pre><pre></pre><pre></pre><pre>#ifndef NULL</pre><pre>#define NULL ((void *)0)</pre><pre>#endif</pre><pre></pre>
153
153
</body>
154
154
</html>