Mail Archives: cygwin-developers/1998/09/24/01:43:43
At 01:07 22/09/98 -0700, Geoffrey Noer wrote:
>> extern int srandom( unsigned seed);
>> extern long random();
>
>These aren't in there yet. I can't find them in SunOS or Linux header
>files either. Where should they go???
Maybe stdlib.h? Looking at the sunos man pages it looks like they might be
BSD functions.
The other stuff I have had to add is:
Tthese two are because of bugs in the cygwin header files, in
particular if you can find the font structure with ntmTm in it you should
change it to ntmentm.
#define FONTENUMPROC FONTENUMEXPROC
#define ntmTm ntmentm
extern BOOL WINAPI PlaySound(LPCSTR,HMODULE,DWORD);
This one you may disagree with
#define stricmp strcasecmp
This is all standard stuff for maniuplating image lists
#define TB_SETIMAGELIST (WM_USER + 48)
#define TB_GETIMAGELIST (WM_USER + 49)
#define TB_SETDISABLEDIMAGELIST (WM_USER + 54)
#define TB_GETDISABLEDIMAGELIST (WM_USER + 55)
#define TB_SETPADDING (WM_USER + 87)
The other really important one is - could you wrap the definition of CONST
with #ifndef CONST. This is what the windows headers do and allow one to
change the definitiion if so required.
andy
---------------------------------------------------------------------------
" .sigs are like your face - rarely seen by you and uglier than you think"
Dr Andy Piper, Technical Architect, Parallax Solutions Ltd
mail: andyp AT parallax DOT co DOT uk web: www.parallax.co.uk/~andyp
- Raw text -