Article View: comp.os.os2.programmer
Article #1415#define SEG_NONSHARED ?
From: Juha Inkari
Date: Mon, 09 Jul 1990 14:59
Date: Mon, 09 Jul 1990 14:59
21 lines
1347 bytes
1347 bytes
I tryed to compile the compress for os/2 and noticed the following trouble :
I have OS/2 1.20 (beta version) and MSC 5.10
installed ok, but the compiler complains the following:
compress.c
compress.c(350) : error C2065: 'SEG_NONSHARED' : undefined
compress.c(368) : error C2065: 'SEG_NONSHARED' : undefined
This piece of code seems to occure in three places in compress.c file:
if ( DosAllocHuge(HIUSHORT(size), LOUSHORT(size), &sel, 0, SEG_NONSHARED) )
The definition SEG_NONSHARED seems to be the trouble because it is not
defined anywhere ! I didnt found it from any of the header files which
are installed with MSC 5.1 (I installed only the OS/2 version).
How should I define SEG_NONSHARED and where it _should_ be defined ?
--
/* Juha Inkari inkari@batgirl.hut.fi */
Technical Details
Message-ID:
<1990Jul9.145902.29381@santra.uucp>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!bloom-beacon!eru!luth!sunic!tut!funic!santra!conan.hut.fi!inkariShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!bloom-beacon!eru!luth!sunic!tut!funic!santra!conan.hut.fi!inkari From: inkari@conan.hut.fi (Juha Inkari) Newsgroups: comp.os.os2.programmer Subject: #define SEG_NONSHARED ? Message-ID: <1990Jul9.145902.29381@santra.uucp> Date: 9 Jul 90 14:59:02 GMT Sender: news@santra.uucp (Cnews - USENET news system) Reply-To: inkari@niksula.hut.fi (Juha Inkari) Organization: Helsinki University of Technology, Finland Lines: 21