Skip to content

Commit

Permalink
mamake: enable 64-bits time_t on 32-bit Linux (re: 7f8e4e2)
Browse files Browse the repository at this point in the history
This needs to be done separately for the non-AST version of mamake.
  • Loading branch information
McDutchie committed Jan 2, 2025
1 parent 7f8e4e2 commit d46df66
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/cmd/INIT/mamake.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* *
* This software is part of the ast package *
* Copyright (c) 1990-2013 AT&T Intellectual Property *
* Copyright (c) 2020-2024 Contributors to ksh 93u+m *
* Copyright (c) 2020-2025 Contributors to ksh 93u+m *
* and is licensed under the *
* Eclipse Public License, Version 2.0 *
* *
Expand All @@ -28,7 +28,7 @@
* coded for portability
*/

#define RELEASE_DATE "2024-12-03"
#define RELEASE_DATE "2025-01-02"
static char id[] = "\n@(#)$Id: mamake (ksh 93u+m) " RELEASE_DATE " $\0\n";

#if _PACKAGE_ast
Expand All @@ -43,7 +43,7 @@ static const char usage[] =
"[-author?Martijn Dekker <[email protected]>]"
"[-author?Contributors to https://github.com/ksh93/ksh]"
"[-copyright?(c) 1994-2013 AT&T Intellectual Property]"
"[-copyright?(c) 2020-2024 Contributors to ksh 93u+m]"
"[-copyright?(c) 2020-2025 Contributors to ksh 93u+m]"
"[-license?https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html]"
"[+NAME?mamake - make abstract machine make]"
"[+DESCRIPTION?\bmamake\b reads \amake abstract machine\a target and"
Expand Down Expand Up @@ -116,6 +116,8 @@ static const char usage[] =
#define _XOPEN_SOURCE 9900 /* generic */
#define _DARWIN_C_SOURCE 1 /* macOS */
#define _GNU_SOURCE 1 /* GNU/Linux, Cygwin */
#define _FILE_OFFSET_BITS 64 /* 32-bit Linux 5.6+ (glibc 2.32+) */
#define _TIME_BITS 64 /* 32-bit Linux 5.6+ (glibc 2.32+) */
#define _QNX_SOURCE 1 /* QNX */
#define __EXTENSIONS__ 1 /* Solaris/illumos */

Expand Down

0 comments on commit d46df66

Please sign in to comment.