extras/abs-file.h
changeset 654 c0ae01de361d
parent 578 bff1af8455ca
equal deleted inserted replaced
653:89d56fcb2b40 654:c0ae01de361d
    90 #endif
    90 #endif
    91 
    91 
    92 #ifdef USE_PHYSFS
    92 #ifdef USE_PHYSFS
    93 
    93 
    94 #include <physfs.h>
    94 #include <physfs.h>
    95 #define MY_FILETYPE PHYSFS_file
    95 #define MY_FILETYPE PHYSFS_File
    96 #define MY_SETBUFFER(fp,size) PHYSFS_setBuffer(fp,size)
    96 #define MY_SETBUFFER(fp,size) PHYSFS_setBuffer(fp,size)
    97 #define MY_READ(p,s,n,fp) PHYSFS_read(fp,p,s,n)
    97 #define MY_READ(p,s,n,fp) PHYSFS_read(fp,p,s,n)
    98 #if PHYSFS_DEFAULT_READ_BUFFER
    98 #if PHYSFS_DEFAULT_READ_BUFFER
    99 static MY_FILETYPE* MY_OPEN_FOR_READ(const char *const filename)
    99 static MY_FILETYPE* MY_OPEN_FOR_READ(const char *const filename)
   100 {
   100 {