Changeset 4946 for pjproject/trunk


Ignore:
Timestamp:
Oct 14, 2014 4:39:17 AM (10 years ago)
Author:
ming
Message:

Re #1782 (misc): Fixed preprocessor definition of PJMEDIA_WMME_DEV_USE_MMDEVICE_API (thanks to Sean Bright for the patch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-audiodev/wmme_dev.c

    r4943 r4946  
    4040 
    4141#ifndef PJMEDIA_WMME_DEV_USE_MMDEVICE_API 
    42 #   define PJMEDIA_WMME_DEV_USE_MMDEVICE_API \ 
    43            (defined(_WIN32_WINNT) && (_WIN32_WINNT>=0x0600)) 
     42#   if defined(_WIN32_WINNT) && (_WIN32_WINNT>=0x0600) 
     43#      define PJMEDIA_WMME_DEV_USE_MMDEVICE_API 1 
     44#   else 
     45#      define PJMEDIA_WMME_DEV_USE_MMDEVICE_API 0 
     46#   endif 
    4447#endif 
    4548 
Note: See TracChangeset for help on using the changeset viewer.