Changeset 839:29bbbbef1d7e in mediastreamer2


Ignore:
Timestamp:
Dec 9, 2009 6:05:39 PM (3 years ago)
Author:
Simon Morlat <simon.morlat@…>
Branch:
default
Message:

wince port of linphonec works.

Location:
linphone
Files:
1 added
1 deleted
14 edited

Legend:

Unmodified
Added
Removed
  • linphone/build/wince/liblinphone.sln

    r827 r839  
    55EndProject 
    66Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "linphonec", "linphonec\linphonec.vcproj", "{92574924-BF59-4DAA-994B-9978B80E5797}" 
    7         ProjectSection(ProjectDependencies) = postProject 
    8                 {290078F0-3B63-47BF-A2A9-E1AF5411F5E7} = {290078F0-3B63-47BF-A2A9-E1AF5411F5E7} 
    9         EndProjectSection 
    107EndProject 
    118Global 
  • linphone/build/wince/liblinphone.vcproj

    r827 r839  
    179179                        IntermediateDirectory="Windows Mobile 6 Professional SDK (ARMV4I)\$(ConfigurationName)" 
    180180                        ConfigurationType="4" 
     181                        CharacterSet="1" 
    181182                        > 
    182183                        <Tool 
     
    200201                                ExecutionBucket="7" 
    201202                                AdditionalOptions="&#x0D;&#x0A;" 
    202                                 Optimization="0" 
     203                                Optimization="2" 
    203204                                AdditionalIncludeDirectories="..\..\oRTP\include;..\..\mediastreamer2\include;&quot;..\..\..\..\linphone-builder\speex\include&quot;;&quot;..\..\..\..\linphone-builder\eXosip\include&quot;;&quot;..\..\..\..\linphone-builder\osip\include&quot;" 
    204                                 PreprocessorDefinitions="ORTP_INET6;ORTP_EXPORT;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);_DEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_);LIBLINPHONE_EXPORTS;OSIP_MT;ENABLE_TRACE;LOG_DOMAIN=\&quot;LinphoneCore\&quot;;IN_LINPHONE;LINPHONE_PLUGINS_DIR=\&quot;\&quot;;LINPHONE_VERSION=\&quot;3.1.2\&quot;;_UNICODE;UNICODE" 
     205                                PreprocessorDefinitions="ORTP_INET6;ORTP_EXPORT;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);_DEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_);LIBLINPHONE_EXPORTS;OSIP_MT;ENABLE_TRACE;LOG_DOMAIN=\&quot;LinphoneCore\&quot;;IN_LINPHONE;LINPHONE_PLUGINS_DIR=\&quot;\&quot;;LINPHONE_VERSION=\&quot;3.1.2\&quot;;_UNICODE;UNICODE;PACKAGE_SOUND_DIR=\&quot;\\Program Files\\Linphone\&quot;" 
    205206                                MinimalRebuild="true" 
    206207                                RuntimeLibrary="3" 
  • linphone/build/wince/linphonec/linphonec.vcproj

    r828 r839  
    2222                        IntermediateDirectory="$(PlatformName)\$(ConfigurationName)" 
    2323                        ConfigurationType="1" 
     24                        UseOfMFC="0" 
    2425                        CharacterSet="1" 
    2526                        > 
     
    4445                                Optimization="0" 
    4546                                AdditionalIncludeDirectories="&quot;..\..\..\..\..\linphone-builder\osip\include&quot;;..\..\..\mediastreamer2\include;..\..\..\oRTP\include;..\..\..\coreapi" 
    46                                 PreprocessorDefinitions="_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES);WINCE;DEBUG;_CONSOLE;$(ARCHFAM);$(_ARCHFAM_);_UNICODE;UNICODE;IN_LINPHONE" 
     47                                PreprocessorDefinitions="_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES);WINCE;DEBUG;_CONSOLE;$(ARCHFAM);$(_ARCHFAM_);IN_LINPHONE;PACKAGE_DIR=\&quot;\\Program Files\\Linphone\&quot;" 
    4748                                MinimalRebuild="true" 
    48                                 RuntimeLibrary="1" 
     49                                RuntimeLibrary="3" 
    4950                                UsePrecompiledHeader="0" 
    5051                                WarningLevel="3" 
     
    102103                                RemoteDirectory="%CSIDL_PROGRAM_FILES%\linphone" 
    103104                                RegisterOutput="0" 
    104                                 AdditionalFiles="..\..\..\oRTP\build\wince\$(PlatformName)\$(ConfigurationName)\oRTP.dll;..\..\..\mediastreamer2\build\wince\$(PlatformName)\$(ConfigurationName)\mediastreamer2.dll" 
     105                                AdditionalFiles="" 
    105106                        /> 
    106107                        <DebuggerTool 
  • linphone/console/linphonec.c

    r827 r839  
    6262#define strdup _strdup 
    6363#endif /*strdup*/ 
    64 /* 
    65 #if !defined(access) 
    66 #define access _access 
    67 #endif*/ /*access*/ 
    6864 
    6965#endif /*_WIN32_WCE*/ 
     
    7672#else 
    7773#define _(something)    (something) 
     74#endif 
     75 
     76#ifndef PACKAGE_DIR 
     77#define PACKAGE_DIR "" 
    7878#endif 
    7979 
     
    569569 *      - FILE *mylogfile 
    570570 */ 
    571 #if  defined (_MSC_VER) 
    572 int _tmain(int argc, _TCHAR* argv[]) { 
    573         trace_level=1; 
     571#if defined (_WIN32_WCE) 
     572 
     573char **convert_args_to_ascii(int argc, _TCHAR **wargv){ 
     574        int i; 
     575        char **result=malloc(argc*sizeof(char*)); 
     576        char argtmp[128]; 
     577        for(i=0;i<argc;++i){ 
     578                wcstombs(argtmp,wargv[i],sizeof(argtmp)); 
     579                result[i]=strdup(argtmp); 
     580        } 
     581        return result; 
     582} 
     583 
     584int _tmain(int argc, _TCHAR* wargv[]) { 
     585        char **argv=convert_args_to_ascii(argc,wargv); 
     586        trace_level=6; 
    574587        linphonec_vtable.show =(ShowInterfaceCb) stub; 
    575588        linphonec_vtable.inv_recv = linphonec_call_received; 
     
    597610 
    598611 
    599  
    600  
    601612        if (! linphonec_init(argc, argv) ) exit(EXIT_FAILURE); 
    602613 
     
    621632         */ 
    622633        mylogfile = NULL; 
    623  
     634         
     635         
     636#ifndef _WIN32 
    624637        snprintf(configfile_name, PATH_MAX, "%s/.linphonerc", 
    625 #if !defined(_WIN32_WCE) 
    626638                        getenv("HOME")); 
     639#elif defined(_WIN32_WCE) 
     640        strncpy(configfile_name,PACKAGE_DIR "\\linphonerc",PATH_MAX); 
     641        mylogfile=fopen(PACKAGE_DIR "\\" "linphonec.log","w"); 
     642        printf("Logs are redirected in" PACKAGE_DIR "\\linphonec.log"); 
    627643#else 
    628                         "."); 
    629 #endif /*_WIN32_WCE*/ 
    630  
     644        snprintf(configfile_name, PATH_MAX, "%s/Linphone/linphonerc", 
     645                        getenv("APPDATA")); 
     646#endif 
    631647        /* Handle configuration filename changes */ 
    632648        switch (handle_configfile_migration()) 
  • linphone/coreapi/misc.c

    r826 r839  
    776776        struct addrinfo *res=NULL; 
    777777        struct sockaddr_storage addr; 
     778        struct sockaddr *p_addr=(struct sockaddr*)&addr; 
    778779        ortp_socket_t sock; 
    779780        socklen_t s; 
     
    814815                return -1; 
    815816        } 
     817        if (p_addr->sa_family==AF_INET){ 
     818                struct sockaddr_in *p_sin=(struct sockaddr_in*)p_addr; 
     819                if (p_sin->sin_addr.s_addr==0){ 
     820                        close_socket(sock); 
     821                        return -1; 
     822                } 
     823        } 
    816824        err=getnameinfo((struct sockaddr *)&addr,s,result,LINPHONE_IPADDR_SIZE,NULL,0,NI_NUMERICHOST); 
    817825        if (err!=0){ 
  • linphone/mediastreamer2/build/wince/alldescs.h

    r0 r839  
    2929//extern MSFilterDesc ms_h263_dec_desc; 
    3030extern MSFilterDesc ms_join_desc; 
     31extern MSFilterDesc ms_equalizer_desc; 
     32extern MSFilterDesc ms_volume_desc; 
     33 
    3134MSFilterDesc * ms_filter_descs[]={ 
    3235&ms_alaw_dec_desc, 
     
    5861//&ms_h263_dec_desc, 
    5962&ms_join_desc, 
     63&ms_equalizer_desc, 
     64&ms_volume_desc, 
    6065NULL 
    6166}; 
  • linphone/mediastreamer2/build/wince/mediastreamer2.sln

    r824 r839  
    33# Visual Studio 2008 
    44Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mediastreamer2", "mediastreamer2.vcproj", "{177F5AE2-A40C-4412-8F26-7F85FA32464E}" 
     5EndProject 
     6Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "echo", "echo\echo.vcproj", "{B616AC95-748E-4CD5-89AC-772DC3C069D9}" 
    57EndProject 
    68Global 
     
    4042                {177F5AE2-A40C-4412-8F26-7F85FA32464E}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) 
    4143                {177F5AE2-A40C-4412-8F26-7F85FA32464E}.Release|Windows Mobile 6 Standard SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Standard SDK (ARMV4I) 
     44                {B616AC95-748E-4CD5-89AC-772DC3C069D9}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) 
     45                {B616AC95-748E-4CD5-89AC-772DC3C069D9}.Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) 
     46                {B616AC95-748E-4CD5-89AC-772DC3C069D9}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) 
     47                {B616AC95-748E-4CD5-89AC-772DC3C069D9}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) 
     48                {B616AC95-748E-4CD5-89AC-772DC3C069D9}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) 
     49                {B616AC95-748E-4CD5-89AC-772DC3C069D9}.Debug|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) 
     50                {B616AC95-748E-4CD5-89AC-772DC3C069D9}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) 
     51                {B616AC95-748E-4CD5-89AC-772DC3C069D9}.Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) 
     52                {B616AC95-748E-4CD5-89AC-772DC3C069D9}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) 
     53                {B616AC95-748E-4CD5-89AC-772DC3C069D9}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) 
     54                {B616AC95-748E-4CD5-89AC-772DC3C069D9}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) 
     55                {B616AC95-748E-4CD5-89AC-772DC3C069D9}.Release|Windows Mobile 6 Standard SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) 
    4256        EndGlobalSection 
    4357        GlobalSection(SolutionProperties) = preSolution 
  • linphone/mediastreamer2/build/wince/mediastreamer2.vcproj

    r826 r839  
    328328                                FavorSizeOrSpeed="1" 
    329329                                AdditionalIncludeDirectories=".;&quot;..\..\..\..\..\linphone-builder\speex\include&quot;;..\..;..\..\include;..\..\..\oRTP\include;..\..\..\codecs\speex\include" 
    330                                 PreprocessorDefinitions="__VIDEO_DISABLED__;AMD_HACK;HAVE_SPEEX_NOISE;ORTP_INET6;MEDIASTREAMER2_EXPORT;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);_DEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_);POCKETPC2003_UI_MODEL" 
     330                                PreprocessorDefinitions="__VIDEO_DISABLED__;HAVE_SPEEX_NOISE;ORTP_INET6;MEDIASTREAMER2_EXPORT;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);_DEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_)" 
    331331                                RuntimeLibrary="3" 
    332332                                TreatWChar_tAsBuiltInType="false" 
     
    754754                        </File> 
    755755                        <File 
     756                                RelativePath="..\..\src\dsptools.c" 
     757                                > 
     758                        </File> 
     759                        <File 
    756760                                RelativePath="..\..\src\dtmfgen.c" 
    757761                                > 
     
    762766                        </File> 
    763767                        <File 
     768                                RelativePath="..\..\src\equalizer.c" 
     769                                > 
     770                        </File> 
     771                        <File 
    764772                                RelativePath="..\..\src\ice.c" 
    765773                                > 
    766774                        </File> 
    767775                        <File 
     776                                RelativePath="..\..\src\kiss_fft.c" 
     777                                > 
     778                        </File> 
     779                        <File 
     780                                RelativePath="..\..\src\kiss_fftr.c" 
     781                                > 
     782                        </File> 
     783                        <File 
    768784                                RelativePath="..\..\src\mscommon.c" 
    769785                                > 
     
    810826                        </File> 
    811827                        <File 
     828                                RelativePath="..\..\src\msvolume.c" 
     829                                > 
     830                        </File> 
     831                        <File 
    812832                                RelativePath="..\..\src\mswebcam.c" 
    813833                                > 
     
    834854                        </File> 
    835855                        <File 
    836                                 RelativePath="..\..\src\winsnd.c" 
     856                                RelativePath="..\..\src\winsnd3.c" 
    837857                                > 
    838858                        </File> 
  • linphone/mediastreamer2/src/audiostream.c

    r826 r839  
    561561        ms_filter_destroy(stream->sndwrite); 
    562562        ms_free(stream); 
     563#ifdef _WIN32_WCE 
     564        ms_warning("Sleeping a bit after closing the audio device..."); 
     565        ms_sleep(1); 
     566#endif 
    563567} 
    564568 
  • linphone/mediastreamer2/src/msfileplayer_win.c

    r179 r839  
    128128        PlayerData *d=(PlayerData*)f->data; 
    129129        HANDLE fd; 
    130         const char *file=(const char*)arg; 
    131 #if defined(_WIN32_WCE) 
    132     fd = CreateFile((LPCWSTR)file, GENERIC_READ, FILE_SHARE_READ, NULL, 
    133         OPEN_EXISTING, 0, NULL); 
     130        const char *afile=(const char*)arg; 
     131        LPCTSTR file; 
     132#ifdef _UNICODE 
     133        wchar_t wfile[MAX_PATH]; 
     134        mbstowcs(wfile,afile,MAX_PATH); 
     135        file=wfile; 
    134136#else 
    135         fd = CreateFile(file, GENERIC_READ, FILE_SHARE_READ, NULL, 
    136         OPEN_EXISTING, 0, NULL); 
     137        file=afile; 
    137138#endif 
     139 
     140    fd = CreateFile(file, GENERIC_READ, FILE_SHARE_READ, NULL, 
     141        OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); 
     142 
    138143        if (fd==INVALID_HANDLE_VALUE){ 
    139                 ms_warning("Failed to open %s",file); 
     144                ms_warning("Failed to open %s: error %i",afile,GetLastError()); 
    140145                return -1; 
    141146        } 
    142147        d->state=STOPPED; 
    143148        d->fd=fd; 
    144         if (strstr(file,".wav")!=NULL) read_wav_header(d); 
     149        if (strstr(afile,".wav")!=NULL) read_wav_header(d); 
    145150        return 0; 
    146151} 
  • linphone/mediastreamer2/tests/echo.c

    r493 r839  
    2323#include "mediastreamer2/msticker.h" 
    2424 
     25#ifndef _WIN32_WCE 
    2526#include <signal.h> 
     27#elif defined(_MSC_VER) 
     28#define main _tmain 
     29#endif 
    2630 
    2731static int run=1; 
     
    3842        char *card_id=NULL; 
    3943        int rate = 16000; 
     44 
    4045        ortp_init(); 
    4146        ortp_set_log_level_mask(ORTP_MESSAGE|ORTP_WARNING|ORTP_ERROR|ORTP_FATAL); 
    4247        ms_init(); 
    43          
     48 
     49#ifndef _WIN32_WCE 
    4450        signal(SIGINT,stop); 
     51#endif 
    4552 
    4653        if (argc>1) 
     
    7885        ms_filter_link(f1,0,f2,0); 
    7986        ms_ticker_attach(ticker,f1); 
     87#ifndef _WIN32_WCE 
    8088        while(run) 
    8189                ms_sleep(1); 
     90#else 
     91        ms_sleep(5); 
     92#endif 
    8293        ms_ticker_detach(ticker,f1); 
    8394        ms_ticker_destroy(ticker); 
  • linphone/oRTP/build/wince/oRTP.vcproj

    r824 r839  
    290290                </Configuration> 
    291291                <Configuration 
     292                        Name="Debug|Windows Mobile 6 Professional SDK (ARMV4I)" 
     293                        OutputDirectory="Windows Mobile 6 Professional SDK (ARMV4I)\$(ConfigurationName)" 
     294                        IntermediateDirectory="Windows Mobile 6 Professional SDK (ARMV4I)\$(ConfigurationName)" 
     295                        ConfigurationType="2" 
     296                        UseOfMFC="0" 
     297                        CharacterSet="1" 
     298                        > 
     299                        <Tool 
     300                                Name="VCPreBuildEventTool" 
     301                        /> 
     302                        <Tool 
     303                                Name="VCCustomBuildTool" 
     304                        /> 
     305                        <Tool 
     306                                Name="VCXMLDataGeneratorTool" 
     307                        /> 
     308                        <Tool 
     309                                Name="VCWebServiceProxyGeneratorTool" 
     310                        /> 
     311                        <Tool 
     312                                Name="VCMIDLTool" 
     313                                PreprocessorDefinitions="_DEBUG" 
     314                                MkTypLibCompatible="false" 
     315                                TargetEnvironment="1" 
     316                        /> 
     317                        <Tool 
     318                                Name="VCCLCompilerTool" 
     319                                ExecutionBucket="7" 
     320                                Optimization="2" 
     321                                FavorSizeOrSpeed="1" 
     322                                AdditionalIncludeDirectories="..\..\include;..\..\..\osip\include" 
     323                                PreprocessorDefinitions="ORTP_INET6;ORTP_EXPORT;AMD_HACK;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);_DEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_);POCKETPC2003_UI_MODEL" 
     324                                RuntimeLibrary="3" 
     325                                TreatWChar_tAsBuiltInType="true" 
     326                                UsePrecompiledHeader="0" 
     327                                ProgramDataBaseFileName="$(IntDir)/oRTP.pdb" 
     328                                WarningLevel="3" 
     329                                DebugInformationFormat="3" 
     330                        /> 
     331                        <Tool 
     332                                Name="VCManagedResourceCompilerTool" 
     333                        /> 
     334                        <Tool 
     335                                Name="VCResourceCompilerTool" 
     336                                PreprocessorDefinitions="_DEBUG;_UNICODE;UNICODE;_WIN32_WCE;UNDER_CE" 
     337                                Culture="1033" 
     338                                AdditionalIncludeDirectories="$(IntDir)" 
     339                        /> 
     340                        <Tool 
     341                                Name="VCPreLinkEventTool" 
     342                        /> 
     343                        <Tool 
     344                                Name="VCLinkerTool" 
     345                                AdditionalOptions=" /SUBSYSTEM:WINDOWSCE,5.01 /MACHINE:THUMB" 
     346                                AdditionalDependencies="ws2.lib iphlpapi.lib mmtimer.lib libcmtd.lib" 
     347                                IgnoreAllDefaultLibraries="true" 
     348                                ModuleDefinitionFile="oRTP.def" 
     349                                GenerateDebugInformation="true" 
     350                                RandomizedBaseAddress="1" 
     351                                DataExecutionPrevention="0" 
     352                                TargetMachine="0" 
     353                        /> 
     354                        <Tool 
     355                                Name="VCALinkTool" 
     356                        /> 
     357                        <Tool 
     358                                Name="VCXDCMakeTool" 
     359                        /> 
     360                        <Tool 
     361                                Name="VCBscMakeTool" 
     362                        /> 
     363                        <Tool 
     364                                Name="VCFxCopTool" 
     365                        /> 
     366                        <Tool 
     367                                Name="VCCodeSignTool" 
     368                        /> 
     369                        <Tool 
     370                                Name="VCPostBuildEventTool" 
     371                        /> 
     372                        <DeploymentTool 
     373                                ForceDirty="-1" 
     374                                RemoteDirectory="%CSIDL_PROGRAM_FILES%\linphone" 
     375                                RegisterOutput="0" 
     376                                AdditionalFiles="" 
     377                        /> 
     378                        <DebuggerTool 
     379                        /> 
     380                </Configuration> 
     381                <Configuration 
    292382                        Name="Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" 
    293383                        OutputDirectory="$(PlatformName)\Release" 
     
    547637                </Configuration> 
    548638                <Configuration 
    549                         Name="Debug|Windows Mobile 6 Professional SDK (ARMV4I)" 
    550                         OutputDirectory="Windows Mobile 6 Professional SDK (ARMV4I)\$(ConfigurationName)" 
    551                         IntermediateDirectory="Windows Mobile 6 Professional SDK (ARMV4I)\$(ConfigurationName)" 
    552                         ConfigurationType="2" 
    553                         UseOfMFC="0" 
    554                         CharacterSet="1" 
    555                         > 
    556                         <Tool 
    557                                 Name="VCPreBuildEventTool" 
    558                         /> 
    559                         <Tool 
    560                                 Name="VCCustomBuildTool" 
    561                         /> 
    562                         <Tool 
    563                                 Name="VCXMLDataGeneratorTool" 
    564                         /> 
    565                         <Tool 
    566                                 Name="VCWebServiceProxyGeneratorTool" 
    567                         /> 
    568                         <Tool 
    569                                 Name="VCMIDLTool" 
    570                                 PreprocessorDefinitions="_DEBUG" 
    571                                 MkTypLibCompatible="false" 
    572                                 TargetEnvironment="1" 
    573                         /> 
    574                         <Tool 
    575                                 Name="VCCLCompilerTool" 
    576                                 Optimization="2" 
    577                                 FavorSizeOrSpeed="1" 
    578                                 AdditionalIncludeDirectories="..\..\include;..\..\..\osip\include" 
    579                                 PreprocessorDefinitions="ORTP_INET6;ORTP_EXPORT;AMD_HACK;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);_DEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_);POCKETPC2003_UI_MODEL" 
    580                                 RuntimeLibrary="3" 
    581                                 TreatWChar_tAsBuiltInType="true" 
    582                                 UsePrecompiledHeader="0" 
    583                                 ProgramDataBaseFileName="$(IntDir)/oRTP.pdb" 
    584                                 WarningLevel="3" 
    585                                 DebugInformationFormat="3" 
    586                         /> 
    587                         <Tool 
    588                                 Name="VCManagedResourceCompilerTool" 
    589                         /> 
    590                         <Tool 
    591                                 Name="VCResourceCompilerTool" 
    592                                 PreprocessorDefinitions="_DEBUG;_UNICODE;UNICODE;_WIN32_WCE;UNDER_CE" 
    593                                 Culture="1033" 
    594                                 AdditionalIncludeDirectories="$(IntDir)" 
    595                         /> 
    596                         <Tool 
    597                                 Name="VCPreLinkEventTool" 
    598                         /> 
    599                         <Tool 
    600                                 Name="VCLinkerTool" 
    601                                 AdditionalOptions=" /SUBSYSTEM:WINDOWSCE,5.01 /MACHINE:THUMB" 
    602                                 AdditionalDependencies="ws2.lib iphlpapi.lib mmtimer.lib libcmtd.lib" 
    603                                 IgnoreAllDefaultLibraries="true" 
    604                                 ModuleDefinitionFile="oRTP.def" 
    605                                 GenerateDebugInformation="true" 
    606                                 RandomizedBaseAddress="1" 
    607                                 DataExecutionPrevention="0" 
    608                                 TargetMachine="0" 
    609                         /> 
    610                         <Tool 
    611                                 Name="VCALinkTool" 
    612                         /> 
    613                         <Tool 
    614                                 Name="VCXDCMakeTool" 
    615                         /> 
    616                         <Tool 
    617                                 Name="VCBscMakeTool" 
    618                         /> 
    619                         <Tool 
    620                                 Name="VCFxCopTool" 
    621                         /> 
    622                         <Tool 
    623                                 Name="VCCodeSignTool" 
    624                         /> 
    625                         <Tool 
    626                                 Name="VCPostBuildEventTool" 
    627                         /> 
    628                         <DeploymentTool 
    629                                 ForceDirty="-1" 
    630                                 RemoteDirectory="" 
    631                                 RegisterOutput="0" 
    632                                 AdditionalFiles="" 
    633                         /> 
    634                         <DebuggerTool 
    635                         /> 
    636                 </Configuration> 
    637                 <Configuration 
    638639                        Name="Release|Windows Mobile 6 Professional SDK (ARMV4I)" 
    639640                        OutputDirectory="Windows Mobile 6 Professional SDK (ARMV4I)\$(ConfigurationName)" 
  • linphone/oRTP/src/ortp.c

    r337 r839  
    257257        } 
    258258        msg=ortp_strdup_vprintf(fmt,args); 
    259 #ifdef _MSC_VER 
     259#if defined(_MSC_VER) && !defined(_WIN32_WCE) 
    260260        OutputDebugString(msg); 
    261261        OutputDebugString("\r\n"); 
Note: See TracChangeset for help on using the changeset viewer.