Solaris fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@1056 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6bf5b348d1
commit
3741c5eb91
8 changed files with 73 additions and 48 deletions
|
|
@ -155,8 +155,10 @@ wad_segment_read() {
|
|||
|
||||
while (1) {
|
||||
s = (WadSegment *) wad_malloc(sizeof(WadSegment));
|
||||
skip:
|
||||
n = segment_read(fs,s);
|
||||
if (n <= 0) break;
|
||||
if (wad_file_check(s->vaddr)) goto skip; /* Skip files we already loaded */
|
||||
s->next = 0;
|
||||
if (!lasts) {
|
||||
segments = s;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue