Imported Upstream version 24.2
[rrq/maintain_lilo.git] / src / partition.h
index e3c2fa3f9fbb764b9bd584914bf44295a4d21380..c84a54028fd39318cb9e927483d3b0baf9b8376a 100644 (file)
@@ -2,7 +2,7 @@
  * 
  * Copyright 1992-1998 Werner Almesberger
  * Copyright 1999-2004 John Coffman
- * Copyright 2009-2011 Joachim Wiedorn
+ * Copyright 2009-2015 Joachim Wiedorn
  * All rights reserved.
  * 
  * Licensed under the terms contained in the file 'COPYING'
@@ -26,10 +26,10 @@ enum {PTW_OKAY=0, PTW_DOS=1, PTW_OS2=2, PTW_SWAP, PTW_XFS,
                PTW_mask=7, PTW_NTFS=8};
 
 
-#define LLSECTORSIZE ((long long)SECTOR_SIZE)
+#define LLSECTORSIZE ((int64_t)SECTOR_SIZE)
 
 #if __GLIBC__ < 2 || __GLIBC_MINOR__ < 1
-typedef long long lloff_t;
+typedef int64_t lloff_t;
 
 #ifdef _syscall5
        lloff_t lseek64(unsigned int fd, lloff_t offs, unsigned int whence);
@@ -80,7 +80,7 @@ void do_install_mbr(char *where, char *what);
 /* Install a new MBR (Master Boot Record) */
 
 int read_partitions(char *part, int max, int *volid,
-               struct partition *p, long long *where);
+               struct partition *p, int64_t *where);
 /* read all partitions & partition tables */
 
 #endif