Changeset 173

Show
Ignore:
Timestamp:
10/21/07 21:18:35 (11 months ago)
Author:
sip
Message:

Dump files configurable in Makefile by removing -DDUMP_H223 from it.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • libh324m/src/FileLogger.cpp

    r152 r173  
    3535} 
    3636 
     37#ifdef DUMP_H223  
    3738void FileLogger::SetMuxByte(BYTE b) 
    3839{ 
     
    149150        l2[numchar+offset]=' '; 
    150151} 
     152#else 
     153 
     154void FileLogger::SetMuxByte(BYTE b) 
     155{ 
     156} 
     157 
     158void FileLogger::SetMuxInfo(const char*info,...) 
     159{ 
     160} 
     161 
     162void FileLogger::SetDemuxByte(BYTE b) 
     163{ 
     164} 
     165 
     166void FileLogger::SetDemuxInfo(int offset,const char*info,...) 
     167{ 
     168} 
     169#endif 
  • libh324m/src/H324MAL2.cpp

    r152 r173  
    7070        //Debug("-AL2 Frame [%x,%x,%x,%d]\n",data[dataLen-1],crc.Calc(),this,dataLen); 
    7171 
     72#ifdef DUMP_H223 
    7273        { 
    7374                char name[256]; 
     
    7778                close(fd); 
    7879        } 
     80#endif 
    7981         
    8082        //Calc 
  • libh324m/src/H324MSession.cpp

    r152 r173  
    2323 
    2424#define Debug printf  
    25 #define DUMP_H223  
    2625 
    2726H324MSession::H324MSession() 
  • libh324m/src/Makefile

    r101 r173  
    1 CXXFLAGS = -DP_USE_PRAGMA -g -D_REENTRANT -O3 -Wall -fPIC -DPIC -DPTRACING 
    2 CFLAGS = -DP_USE_PRAGMA -g -D_REENTRANT -O3 -Wall -fPIC -DPIC -DPTRACING 
     1CXXFLAGS = -DP_USE_PRAGMA -g -D_REENTRANT -O3 -Wall -fPIC -DPIC -DPTRACING -DDUMP_H223 
     2CFLAGS = -DP_USE_PRAGMA -g -D_REENTRANT -O3 -Wall -fPIC -DPIC -DPTRACING -DDUMP_H223 
    33 
    44SRC = golay.c \ 
Copyright 2006 - Sergio García Murillo
Powered by Trac - Edgewall Software