[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7358) Patch to fix Visual Studio build broken by 2.4.32

Full_Name: Mat Booth
Version: 2.4.32
OS: Windows XP
URL: http://people.apache.org/~mbooth/0001-Fix-build-error-syntax-error-missing-before-type-whe.patch
Submission from: (NULL) (

The provided patch fixes a build problem for Visual Studio 2005 that was
introduced with OpenLDAP 2.4.32.

 * libraries/libldap/init.c
Use C89-style variable declarations because Visual C does not support C99-style
declarations. Avoids a "syntax error : missing ; before type" compile-time error
with Microsoft compilers.

The attached patch file is derived from OpenLDAP Software. All of the
modifications to OpenLDAP Software represented in the following patch(es) were
developed by Mat Booth <mbooth@apache.org>. I have not assigned rights
interest in this work to any party.

I, Mat Booth, hereby place the following modifications to OpenLDAP Software
only these modifications) into the public domain. Hence, these modifications
be freely used and/or redistributed for any purpose with or without attribution
and/or other notice.