From: Jeffrey Altman Date: Sat, 24 Jun 2006 15:10:46 +0000 (+0000) Subject: DEVEL15-windows-viced-cbd-20060624 X-Git-Tag: openafs-devel-1_5_3~45 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f1c5baae752e55bbc9dbaa6f7475def1db93a5a8;p=packages%2Fo%2Fopenafs.git DEVEL15-windows-viced-cbd-20060624 don't break platforms other than Windows (cherry picked from commit 830756f8f73e1f67da6ec916cdfc3e4b9a677f71) --- diff --git a/src/viced/NTMakefile b/src/viced/NTMakefile index 3c13bafd9..281838967 100644 --- a/src/viced/NTMakefile +++ b/src/viced/NTMakefile @@ -68,8 +68,8 @@ $(EXEFILE): $(EXEOBJS) $(EXELIBS) # Build cbd - not generally distributed debugging program CBD = $(DESTDIR)\root.server\usr\afs\bin\cbd.exe -$(OUT)\cbd.obj: callback.c - $(C2OBJ) $** -DINTERPRET_DUMP +$(OUT)\cbd.obj: callback.c AFS_component_version_number.h + $(C2OBJ) callback.c -DINTERPRET_DUMP $(CBD): $(OUT)\cbd.obj $(EXECONLINK) diff --git a/src/viced/callback.c b/src/viced/callback.c index a43edbd12..c7f616e24 100644 --- a/src/viced/callback.c +++ b/src/viced/callback.c @@ -2723,7 +2723,11 @@ ReadDump(char *file) return now; } +#ifdef AFS_NT40_ENV #include "AFS_component_version_number.h" +#else +#include "AFS_component_version_number.c" +#endif int main(int argc, char **argv)