Changeset 952 for trunk/dll/init.c


Ignore:
Timestamp:
Feb 16, 2008, 2:56:37 AM (18 years ago)
Author:
Steven Levine
Message:

Compile OpenWatcom version into binary

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/init.c

    r940 r952  
    4040  17 Dec 07 GKY Make WPURLDEFAULTSETTINGS the fall back for ftp/httprun
    4141  13 Jan 08 GKY Get Subjectwidth/Subjectleft working in the collector.
     42  12 Feb 08 SHL Compile OpenWatcom version into binary
    4243
    4344***********************************************************************/
     
    7879extern int _CRT_init(void);
    7980extern void _CRT_term(void);
     81
     82#ifdef __WATCOMC__
     83#define a(x) #x
     84#define b(x) a(x)
     85// Must be global to prevent warnings
     86PSZ pszBuiltWith = "Built with OpenWatcom version " b(__WATCOMC__);
     87#undef b
     88#undef a
     89#endif
    8090
    8191static PSZ pszSrcFile = __FILE__;
     
    831841  WinRegisterClass(hab,
    832842                   WC_TOOLBACK,
    833                    ToolBackProc,
    834                    CS_SYNCPAINT | CS_SIZEREDRAW | CS_PARENTCLIP,
    835                    sizeof(PVOID));
     843                   ToolBackProc,
     844                   CS_SYNCPAINT | CS_SIZEREDRAW | CS_PARENTCLIP,
     845                   sizeof(PVOID));
    836846  WinRegisterClass(hab,
    837847                   WC_DRIVEBACK,
     
    13101320  size = sizeof(BOOL);
    13111321  PrfQueryProfileData(fmprof, appname, "SubjectLengthMax", &fSubjectLengthMax,
    1312                       &size);
     1322                      &size);
    13131323  if (fSubjectLengthMax)
    13141324    SubjectDisplayWidth = 0;
Note: See TracChangeset for help on using the changeset viewer.