Skip to content
  • Nirbheek Chauhan's avatar
    orc: Implement a windows helper for getenv() · e990f2e1
    Nirbheek Chauhan authored
    On Windows, getenv() is deprecated and does not work in all cases. On
    the Universal Windows Platform (UWP) it always returns NULL. Add
    a wrapper orc_getenv() that calls GetEnvironmentVariable on Windows.
    
    Also change semantics to always make a copy before returning.
    
    Part-of: <!42>
    e990f2e1