Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
2e1d433e
Commit
2e1d433e
authored
Dec 24, 1993
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added getmaxint() so sys can initialize sys.maxint.
Added Makefile.in.
parent
92fa23fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
9 deletions
+17
-9
Objects/Makefile.in
Objects/Makefile.in
+11
-9
Objects/intobject.c
Objects/intobject.c
+6
-0
No files found.
Objects/Makefile.in
View file @
2e1d433e
...
...
@@ -9,18 +9,20 @@ VPATH= @srcdir@
CC
=
@CC@
RANLIB
=
@RANLIB@
DEFS
=
@DEFS@
# === Other things that are customizable but not by configure ===
TOP
=
..
INCLDIR
=
$(TOP)
/Py
OPT
=
-g
CFLAGS
=
$(OPT)
-I
$(INCLDIR)
$(DEFS)
AR
=
ar
MKDEP
=
mkdep
SHELL
=
/bin/sh
INCLDIR
=
$(srcdir)
/../Py
OPT
=
-g
CFLAGS
=
$(OPT)
-I
$(INCLDIR)
# === Fixed definitions ===
...
...
@@ -47,16 +49,16 @@ all: $(LIB)
$(LIB)
:
$(OBJS)
$(AR)
cr
$(LIB)
$(OBJS)
$(RANLIB)
$(LIB)
clean
:
-
rm
-f
$(OBJS)
-
rm
-f
core
*
~
[
@,#]
*
*
.old
*
.orig
*
.rej
-
rm
-f
*
.o core
*
~
[
@,#]
*
*
.old
*
.orig
*
.rej
clobber
:
clean
-
rm
-f
$(LIB)
tags TAGS
-
rm
-f
*
.a
tags TAGS
Makefile
:
Makefile.in
..
/config.status
(
cd
..
;
$(SHELL)
config.status
)
Makefile
:
Makefile.in
$(TOP)
/config.status
CONFIG_FILES
=
Makefile
$(SHELL)
$(TOP)
/config.status
depend
:
$(SRCS)
$(MKDEP)
$(CFLAGS)
$(SRCS)
$(PGENSRCS)
...
...
Objects/intobject.c
View file @
2e1d433e
...
...
@@ -47,6 +47,12 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define LONG_BIT (CHAR_BIT * sizeof(long))
#endif
long
getmaxint
()
{
return
LONG_MAX
;
/* To initialize sys.maxint */
}
/* Standard Booleans */
intobject
FalseObject
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment