Compiles and runs under Mac OS X
VS: ----------------------------------------------------------------------
This commit is contained in:
1
arrobj.c
1
arrobj.c
@ -8,6 +8,7 @@ Markus Zolliker, Feb 2006
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <limits.h>
|
||||||
#include "sics.h"
|
#include "sics.h"
|
||||||
#include "splitter.h"
|
#include "splitter.h"
|
||||||
#include "pardef.h"
|
#include "pardef.h"
|
||||||
|
1
pardef.c
1
pardef.c
@ -12,6 +12,7 @@ Markus Zolliker, March 2005
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <fortify.h>
|
#include <fortify.h>
|
||||||
|
#include <limits.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "logger.h"
|
#include "logger.h"
|
||||||
#include "pardef.h"
|
#include "pardef.h"
|
||||||
|
@ -117,10 +117,10 @@ static void writePolterdiGlobal(NXhandle hfil, NXdict hdict,
|
|||||||
|
|
||||||
NXDputalias(hfil,hdict,"estart",pBueffel);
|
NXDputalias(hfil,hdict,"estart",pBueffel);
|
||||||
SNXSPutVariable(pServ->pSics,pCon,hfil,hdict,"iname","instrument");
|
SNXSPutVariable(pServ->pSics,pCon,hfil,hdict,"iname","instrument");
|
||||||
sprintf(pBueffel,"%d",strlen("SINQ, PSI, Switzerland"));
|
sprintf(pBueffel,"%ld",strlen("SINQ, PSI, Switzerland"));
|
||||||
NXDupdate(hdict,"strdim",pBueffel);
|
NXDupdate(hdict,"strdim",pBueffel);
|
||||||
NXDputalias(hfil,hdict,"sname","SINQ, PSI, Switzerland");
|
NXDputalias(hfil,hdict,"sname","SINQ, PSI, Switzerland");
|
||||||
sprintf(pBueffel,"%d",strlen("continous spallation source"));
|
sprintf(pBueffel,"%ld",strlen("continous spallation source"));
|
||||||
NXDupdate(hdict,"strdim",pBueffel);
|
NXDupdate(hdict,"strdim",pBueffel);
|
||||||
NXDputalias(hfil,hdict,"stype","continous spallation source");
|
NXDputalias(hfil,hdict,"stype","continous spallation source");
|
||||||
NXDupdate(hdict,"strdim","132");
|
NXDupdate(hdict,"strdim","132");
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <time.h>
|
||||||
#include "myc_mem.h"
|
#include "myc_mem.h"
|
||||||
#include "myc_err.h"
|
#include "myc_err.h"
|
||||||
#include "myc_str.h"
|
#include "myc_str.h"
|
||||||
|
Reference in New Issue
Block a user