mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-13 16:03:23 -05:00
removed as part of the atoll fix
This commit is contained in:
parent
1ea0bce3b3
commit
d0e71cbec8
24
src/atoll.c
24
src/atoll.c
@ -1,24 +0,0 @@
|
|||||||
/*
|
|
||||||
* $Id$
|
|
||||||
*
|
|
||||||
* The only platform I know without atoll is OSX 10.2, and it has
|
|
||||||
* 32 bit inodes, so this will be a fine workaround until such time
|
|
||||||
* as I move away from inodes as db index.
|
|
||||||
*
|
|
||||||
* Weak, I know.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
#if !HAVE_ATOLL
|
|
||||||
|
|
||||||
long long atoll(const char *nptr) {
|
|
||||||
return (long long)atol(nptr);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif /* !HAVE_ATOLL */
|
|
@ -1,7 +0,0 @@
|
|||||||
#ifndef _ATOLL_H_
|
|
||||||
#defien _ATOLL_H_
|
|
||||||
|
|
||||||
extern long long atoll(const char *nptr);
|
|
||||||
|
|
||||||
#endif /* _ATOLL_H_ */
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user