Ignore:
Timestamp:
11/03/06 00:10:26 (18 years ago)
Author:
zorg
Message:

Prefix symbols to prevent conflicts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpcdec/branches/zorg/src/mpc_reader.c

    r81 r85  
    5959{
    6060    mpc_reader_stdio *p_stdio = (mpc_reader_stdio*) p_reader->data;
    61     if(p_stdio->magic != STDIO_MAGIC) return FALSE;
    62     return p_stdio->is_seekable ? fseek(p_stdio->p_file, offset, SEEK_SET) == 0 : FALSE;
     61    if(p_stdio->magic != STDIO_MAGIC) return MPC_FALSE;
     62    return p_stdio->is_seekable ? fseek(p_stdio->p_file, offset, SEEK_SET) == 0 : MPC_FALSE;
    6363}
    6464
     
    8383{
    8484    mpc_reader_stdio *p_stdio = (mpc_reader_stdio*) p_reader->data;
    85     if(p_stdio->magic != STDIO_MAGIC) return FALSE;
     85    if(p_stdio->magic != STDIO_MAGIC) return MPC_FALSE;
    8686    return p_stdio->is_seekable;
    8787}
     
    101101    p_stdio->p_file = fopen(filename, "rb");
    102102    if(!p_stdio->p_file) goto clean;
    103     p_stdio->is_seekable = TRUE;
     103    p_stdio->is_seekable = MPC_TRUE;
    104104    err = fseek(p_stdio->p_file, 0, SEEK_END);
    105105    if(err < 0) goto clean;
Note: See TracChangeset for help on using the changeset viewer.