summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/lmcons.h
diff options
context:
space:
mode:
authorEarnie Boyd <earnie@users.sf.net>2001-08-21 13:58:52 +0000
committerEarnie Boyd <earnie@users.sf.net>2001-08-21 13:58:52 +0000
commitde8e9cfb39ad89d2edf2fae9b948369477a96aef (patch)
tree1e0906313e2c10873e2331971db36ed63b12d19b /winsup/w32api/include/lmcons.h
parentb30eef0f67e8ced57cc670c56aa08516b5c69899 (diff)
downloadcygnal-de8e9cfb39ad89d2edf2fae9b948369477a96aef.tar.gz
cygnal-de8e9cfb39ad89d2edf2fae9b948369477a96aef.tar.bz2
cygnal-de8e9cfb39ad89d2edf2fae9b948369477a96aef.zip
* include/setupapi.h : New file.
* lib/setupapi.def:New file. * lib/test.c: Include setupapi.h. * include/winioctl.h (_DISK_PERFORMANCE): Correct typo. * include/richedit.h (ENLINK): Add structure definition. (EM_AUTOURLDETECT, EN_LINK, ENM_LINK): Add defines. * include/shlobj.h (CMIC_*): Remove duplicate defines. (CMDSTR_*): Remove duplicates; UNICODE string constants. (GCS_*): Make UNICODE. (CSIDL_*): Add more defines. * include/winioctl.h (_MEDIA_TYPE): Add pointer typedef. (_DISK_GEOMETRY): Ditto. (_DISK_PERFORMANCE): Ditto. * include/winbase.h (HasOverlappedIoCompleted): Add macro. * include/winnt.h: Move CHAR, SHORT and LONG typedefs outside of block protected by #ifndef VOID. (This reverts 1998-12-01 Anders Norlander change.) * include/odbcinst.h: End file with newline. * include/raserror.h: Ditto. * include/winsock2.h (#include <wtypes.h): Don't. (_BLOB): Define instead, if not already done. (__BLOB_T_DEFINED: New define for guarding _BLOB. * include/wtypes.h (_BLOB): Guard against prior definition. * include/oaidl.h (tagVARIANT): Mark anonymous structs and unions as __extension__. (tagTYPEDESC): Ditto. (_wireBRECORD): Add structure definition. (_wireSAFEARR_BRECORD): Ditto. (_wireSAFEARR_HAVEIID): Ditto. (_wireSAFEARRAY_UNION.u): Add fields SAFEARR_BRECORD RecordStr, SAFEARR_HAVEIID HaveIidStr. (tagVariant): Add fields _VARIANT_BOOL bool,*pbool. (_wireVARIANT): Change field parray to type wirePSAFEARRAY, pparray to wirePSAFEARRAY*. (_wireVARIANT): Add field wireBRECORD brecVal. (wireVARIANT): Change typedef to struct _wireVariant*. (IRecordInfo): Add interface definition. (LPRECORDINFO): Add typedef for IRecordInfo*. (IID_IRecordInfo): Add forward decalaration. * include/lmcons.h: Guard CNLEN and UNCLEN against prior definition. * include/nddeapi.h: Likewise. * ChangeLog: Formatting and typo fixes.
Diffstat (limited to 'winsup/w32api/include/lmcons.h')
-rw-r--r--winsup/w32api/include/lmcons.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/w32api/include/lmcons.h b/winsup/w32api/include/lmcons.h
index 1adde204b..c82837f25 100644
--- a/winsup/w32api/include/lmcons.h
+++ b/winsup/w32api/include/lmcons.h
@@ -8,7 +8,10 @@
#define API_RET_TYPE NET_API_STATUS
#define MIN_LANMAN_MESSAGE_ID NERR_BASE
#define MAX_LANMAN_MESSAGE_ID 5799
+#ifndef CNLEN /* also in nddeapi.h */
#define CNLEN 15
+#define UNCLEN (CNLEN + 2)
+#endif
#define DNLEN 15
#define LM20_CNLEN 15
#define LM20_DNLEN 15
@@ -17,7 +20,6 @@
#define LM20_UNCLEN (LM20_CNLEN+2)
#define LM20_NNLEN 12
#define LM20_RMLEN (LM20_UNCLEN+1+LM20_NNLEN)
-#define UNCLEN (CNLEN+2)
#define NNLEN 80
#define RMLEN (UNCLEN+1+NNLEN)
#define SNLEN 80