Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
dbabbeec
Commit
dbabbeec
authored
25 years ago
by
Howard Chu
Browse files
Options
Downloads
Patches
Plain Diff
Added macros for Mingw32 support.
See README 1.27 log
parent
5d4eda17
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/portable.h.in
+55
-0
55 additions, 0 deletions
include/portable.h.in
with
55 additions
and
0 deletions
include/portable.h.in
+
55
−
0
View file @
dbabbeec
...
...
@@ -14,6 +14,34 @@
/* end of preamble */
/* --------------------------------------------------- */
/* begin of WINNT specific entries */
#ifdef WINNT
/* don't suck in all of the win32 api */
#define WIN32_LEAN_AND_MEAN
/* WindowsNT specific features */
#define HAVE_NT_SERVICE_MANAGER 1
#define HAVE_NT_EVENT_LOG 1
#define MAXPATHLEN _MAX_PATH
/* preprocess out undefined functions */
#define LOG_DEBUG 0
#define openlog(a, b)
#define closelog()
/* define undefined types */
#define ssize_t signed int
typedef char * caddr_t;
#endif
/* end of WINNT specific entries */
/* --------------------------------------------------- */
/* Define if on AIX 3.
System headers sometimes define this.
We just want to avoid a redefinition error message. */
...
...
@@ -276,6 +304,9 @@
/* Define if you have the snprintf function. */
#undef HAVE_SNPRINTF
/* Define to different name, if applicable */
#undef snprintf
/* Define if you have the strdup function. */
#undef HAVE_STRDUP
...
...
@@ -318,9 +349,15 @@
/* Define if you have the thr_yield function. */
#undef HAVE_THR_YIELD
/* Define if you have the _spawnlp function. */
#undef HAVE_SPAWNLP
/* Define if you have the vsnprintf function. */
#undef HAVE_VSNPRINTF
/* Define to different name, if applicable */
#undef vsnprintf
/* Define if you have the vsprintf function. */
#undef HAVE_VSPRINTF
...
...
@@ -330,6 +367,9 @@
/* Define if you have the waitpid function. */
#undef HAVE_WAITPID
/* Define if you have the winsock support. */
#undef HAVE_WINSOCK
/* Define if you have the write function. */
#undef HAVE_WRITE
...
...
@@ -342,6 +382,9 @@
/* Define if you have the <assert.h> header file. */
#undef HAVE_ASSERT_H
/* Define if you have the <conio.h> header file. */
#undef HAVE_CONIO_H
/* Define if you have the <crypt.h> header file. */
#undef HAVE_CRYPT_H
...
...
@@ -357,6 +400,9 @@
/* Define if you have the <des.h> header file. */
#undef HAVE_DES_H
/* Define if you have the <direct.h> header file. */
#undef HAVE_DIRECT_H
/* Define if you have the <dirent.h> header file. */
#undef HAVE_DIRENT_H
...
...
@@ -381,6 +427,9 @@
/* Define if you have the <grp.h> header file. */
#undef HAVE_GRP_H
/* Define if you have the <io.h> header file. */
#undef HAVE_IO_H
/* Define if you have the <kerberosIV/des.h> header file. */
#undef HAVE_KERBEROSIV_DES_H
...
...
@@ -447,6 +496,9 @@
/* Define if you have the <pwd.h> header file. */
#undef HAVE_PWD_H
/* Define if you have the <process.h> header file. */
#undef HAVE_PROCESS_H
/* Define if you have the <quipu/commonarg.h> header file. */
#undef HAVE_QUIPU_COMMONARG_H
...
...
@@ -681,6 +733,9 @@
/* if you have LinuxThreads */
#undef HAVE_LINUX_THREADS
/* if you have NT threads */
#undef HAVE_NT_THREADS
/* define if you have (or want) no threads */
#undef NO_THREADS
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment