summaryrefslogtreecommitdiff
path: root/Build/source/extra/unzip/windll/windll.h
blob: a32623b5960a9f063eb27f5f5f23b0ee1bc97482 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef __windll_h   /* prevent multiple inclusions */
#define __windll_h

#include <windows.h>
#include <assert.h>    /* required for all Windows applications */
#include <setjmp.h>
#include <commdlg.h>
#if (!defined(__RSXNT__) && !defined(__MINGW32__))
#  include <dlgs.h>
#endif
#define UNZIP_INTERNAL
#include "unzip.h"
#include "structs.h"
#include "decs.h"

#ifndef MSWIN
#  define MSWIN
#endif

/* Allow compilation under Borland C++ also */
#ifndef __based
#  define __based(A)
#endif

#ifndef PATH_MAX
#  define PATH_MAX 260            /* max total file or directory name path */
#endif

#define IDM_REPLACE_NO     100
#define IDM_REPLACE_TEXT   101
#define IDM_REPLACE_YES    102
#define IDM_REPLACE_ALL    103
#define IDM_REPLACE_NONE   104
#define IDM_REPLACE_RENAME 105
#define IDM_REPLACE_HELP   106

extern jmp_buf dll_error_return;

extern HANDLE hInst;        /* current instance */

#ifdef UNZIP_INTERNAL
void FreeDllMem(__GPRO);
int win_fprintf(zvoid *pG, FILE *file, unsigned int, char far *);
#endif

#endif /* __windll_h */