windows-nt/Source/XPSP1/NT/shell/ext/userstub/debug.c
2020-09-26 16:20:57 +08:00

21 lines
606 B
C

// We don't use the debugging macros ourselves, but we use
// RunInstallUninstallStubs2, which uses IsOS() in stocklib,
// and stocklib uses the debugging macros, so we have to do all this
// stuff to keep the linker happy.
//
// This file cannot be compiled as a C++ file, otherwise the linker
// will bail on unresolved externals (even with extern "C" wrapping
// this).
#include <windows.h>
#include <ccstock.h>
// Define some things for debug.h
//
#define SZ_DEBUGINI "shellext.ini"
#define SZ_DEBUGSECTION "userstub"
#define SZ_MODULE "USERSTUB"
#define DECLARE_DEBUG
#include <debug.h>