Skip to content
Snippets Groups Projects
Forked from Xiph.Org / Opus
Loading
  • Ralph Giles's avatar
    662ae9bb
    Include process.h for _getpid on windows. · 662ae9bb
    Ralph Giles authored
    Previously the test programmes happened to link because _getpid
    returns an int, which is the default prototype. Instead, include
    the appropriate header to supply a real declaration, fixing the
    associated warning.
    
    I moved the getpid->_getpid define to the site of the header
    inclusion to make clear what's going on, rather than have it
    floating in win32/config.h.
    662ae9bb
    History
    Include process.h for _getpid on windows.
    Ralph Giles authored
    Previously the test programmes happened to link because _getpid
    returns an int, which is the default prototype. Instead, include
    the appropriate header to supply a real declaration, fixing the
    associated warning.
    
    I moved the getpid->_getpid define to the site of the header
    inclusion to make clear what's going on, rather than have it
    floating in win32/config.h.
config.h 543 B