"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/tests/utils.h" between
CGNS-4.1.2.tar.gz and CGNS-4.2.0.tar.gz

About: The CGNS (CFD General Notation System) provides a standard for recording and recovering computer data associated with the numerical solution of fluid dynamics equations.

utils.h  (CGNS-4.1.2):utils.h  (CGNS-4.2.0)
#include "cgnslib.h" #include "cgnslib.h"
#ifndef CGNSTYPES_H #ifndef CGNSTYPES_H
# define cgsize_t int # define cgsize_t int
#endif #endif
#ifndef CGNS_ENUMT #ifndef CGNS_ENUMT
# define CGNS_ENUMT(e) e # define CGNS_ENUMT(e) e
# define CGNS_ENUMV(e) e # define CGNS_ENUMV(e) e
#endif #endif
#if defined(_WIN32) && !defined(__NUTC__)
# include <io.h> /* suggested by MTI */
# ifndef F_OK
# define R_OK 004 /* Test for Read permission */
# define W_OK 002 /* Test for Write permission */
# define X_OK 001 /* Test for eXecute permission */
# define F_OK 000 /* Test for existence of File */
# endif
# define ACCESS _access
# define UNLINK _unlink
#else
# include <unistd.h>
# define ACCESS access
# define UNLINK unlink
#endif
double elapsed_time (void); double elapsed_time (void);
double file_size (char *fname); double file_size (char *fname);
 End of changes. 1 change blocks. 
0 lines changed or deleted 16 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)