~ubuntu-branches/ubuntu/oneiric/libapache-mod-jk/oneiric

« back to all changes in this revision

Viewing changes to native/domino/config.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2006-08-05 16:30:53 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060805163053-myf66gm6j1a21ps6
Tags: 1:1.2.18-1ubuntu1
Merge from Debian unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 1999-2004 The Apache Software Foundation.
 
3
 * 
 
4
 * Licensed under the Apache License, Version 2.0 (the "License");
 
5
 * you may not use this file except in compliance with the License.
 
6
 * You may obtain a copy of the License at
 
7
 * 
 
8
 *      http://www.apache.org/licenses/LICENSE-2.0
 
9
 * 
 
10
 * Unless required by applicable law or agreed to in writing, software
 
11
 * distributed under the License is distributed on an "AS IS" BASIS,
 
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
13
 * See the License for the specific language governing permissions and
 
14
 * limitations under the License.
 
15
 */
 
16
 
 
17
/***************************************************************************
 
18
 * Description: DSAPI plugin for Lotus Domino                              *
 
19
 * Author:      Andy Armstrong <andy@tagish.com>                           *
 
20
 * Version:     $Revision: 299241 $                                           *
 
21
 ***************************************************************************/
 
22
 
 
23
#ifndef __config_h
 
24
#define __config_h
 
25
 
 
26
#define MAKEVERSION(a, b, c, d) \
 
27
        (((a) << 24) + ((b) << 16) + ((c) << 8) + (d))
 
28
 
 
29
/* the _memicmp() function is available */
 
30
#if defined(WIN32)
 
31
 
 
32
#define HAVE_MEMICMP
 
33
#undef USE_INIFILE
 
34
 
 
35
#elif defined(LINUX)
 
36
 
 
37
#undef HAVE_MEMICMP
 
38
#define USE_INIFILE
 
39
 
 
40
#elif defined(SOLARIS)
 
41
 
 
42
#undef HAVE_MEMICMP
 
43
#define USE_INIFILE
 
44
 
 
45
#else
 
46
#error Please define one of WIN32, LINUX or SOLARIS
 
47
#endif
 
48
 
 
49
/* define if you don't have the Notes C API which is available from
 
50
 *
 
51
 *    http://www.lotus.com/rw/dlcapi.nsf
 
52
 */
 
53
/* #undef NO_CAPI */
 
54
 
 
55
#define DEBUG(args) \
 
56
        do { /*printf args ;*/ } while (0)
 
57
 
 
58
#endif /* __config_h */