]> granicus.if.org Git - python/commitdiff
Added cmath module
authorJack Jansen <jack.jansen@cwi.nl>
Mon, 29 Jan 1996 15:47:19 +0000 (15:47 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Mon, 29 Jan 1996 15:47:19 +0000 (15:47 +0000)
Mac/Modules/config.c

index 2cd6c1dba7af1edf5543cdeb8941c2c8b4e84e73..6ba4fc280fd1f57b9d6875e5b47268d451abf100 100644 (file)
@@ -32,6 +32,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 extern void initarray();
 extern void initmath();
+#ifndef WITHOUT_COMPLEX
+extern void initcmath();
+#endif
 extern void initparser();
 extern void initmac();
 extern void MacOS_Init();
@@ -133,6 +136,9 @@ struct {
 #ifndef SYMANTEC__CFM68K__
 /* The math library seems mostly broken... */
        {"math", initmath},
+#endif
+#ifndef WITHOUT_COMPLEX
+       {"cmath", initcmath},
 #endif
        {"parser", initparser},
        {"mac", initmac},