Add a missing file on the Windows platform.

Add missing $Id$ tags.

svn path=/trunk/; revision=52364
This commit is contained in:
Jörg Mayer 2013-10-04 15:51:59 +00:00
parent 6c498c7420
commit 9c0f23709d
3 changed files with 28 additions and 3 deletions

View File

@ -1,4 +1,7 @@
/* This code was copied from http://www.gromacs.org/
/*
* $Id$
*
* This code was copied from http://www.gromacs.org/
* and its toplevel COPYING file starts with:
*
* GROMACS is free software, distributed under the GNU General Public License
@ -11,7 +14,7 @@ int main(int argc, char **argv)
{
/* Cause a compile-time error if off_t is smaller than 64 bits */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
int off_t_is_large[ (LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1 ];
int off_t_is_large[ (LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1 ];
return 0;
}

View File

@ -1,4 +1,6 @@
/* This code was copied from http://www.gromacs.org/
/*
* $Id$
* This code was copied from http://www.gromacs.org/
* and its toplevel COPYING file starts with:
*
* GROMACS is free software, distributed under the GNU General Public License

20
cmake/TestWindowsFSeek.c Normal file
View File

@ -0,0 +1,20 @@
/*
* $Id$
*
* This code was copied from http://www.gromacs.org/
* and its toplevel COPYING file starts with:
*
* GROMACS is free software, distributed under the GNU General Public License
* (GPL) Version 2.
*/
#include <stdio.h>
int main()
{
__int64 off=0;
_fseeki64(NULL, off, SEEK_SET);
return 0;
}