Skip to content

Commit 89b899d

Browse files
committed
fbhelp: fix variable declaraion to compile on linux
Author: coderJeff <[email protected]>
1 parent 2663b32 commit 89b899d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/fbhelp/fbhelp_file.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@
3636
#include "zlib.bi"
3737

3838
type HFILE as gzfile
39+
dim shared hf_is_uncompressed as integer = FALSE
3940

4041
#define hf_open( _filename, _mode ) gzopen( _filename, _mode )
4142

4243
#if defined( __FB_WIN32__ )
4344
'' on windows, gzseek() is bugged on uncompressed streams and only succeed after a gzrewind()
44-
dim shared hf_is_uncompressed as integer = FALSE
4545
private sub hf_rewind( byval h as HFILE )
4646
if( hf_is_uncompressed <> 0 ) then
4747
gzrewind( h )

0 commit comments

Comments
 (0)