[xiph-cvs] cvs commit: w3d README.win32 README w3dtypes.h

Holger Waechtler holger at xiph.org
Mon Mar 11 03:10:55 PST 2002



holger      02/03/11 03:10:55

  Modified:    .        README w3dtypes.h
  Added:       .        README.win32
  Log:
  added a win32 README, minor cosmetics in w3dtypes.h

Revision  Changes    Path
1.3       +2 -0      w3d/README

Index: README
===================================================================
RCS file: /usr/local/cvsroot/w3d/README,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- README	2001/06/25 07:56:07	1.2
+++ README	2002/03/11 11:10:54	1.3
@@ -6,3 +6,5 @@
 For sample / test streams, see http://media.xiph.org/
 (and feel free to submit more streams if you have them).
 
+To get an idea how to build this stuff under Windows, read README.win32.
+

<p><p>1.2       +17 -8     w3d/w3dtypes.h

Index: w3dtypes.h
===================================================================
RCS file: /usr/local/cvsroot/w3d/w3dtypes.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- w3dtypes.h	2002/03/11 09:24:17	1.1
+++ w3dtypes.h	2002/03/11 11:10:54	1.2
@@ -1,11 +1,9 @@
-#ifndef __TYPES_HEADER_INLUDE__
-#define __TYPES_HEADER_INLUDE__
+#ifndef __W3D_TYPES_H
+#define __W3D_TYPES_H
 
-#if !defined(_WIN32)  // These headers do not exists in VC6 either in BC5
-	#include <unistd.h>
-	#include <stdint.h>
-	#define O_BINARY        0
-#else
+#if defined(_WIN32)   /* The unistd.h and stdint.h headers do not  */
+                      /* exists in VC6 either in BC5               */
+
         #define TYPE_BITS       10
         #define __FUNCTION__    ""    // in Win this is not supported.
 
@@ -21,6 +19,17 @@
 
         #define snprintf       _snprintf    // name confusion...
         #define inline         __inline
+
+#else
+
+	#include <unistd.h>
+	#include <stdint.h>
+
+	#ifndef O_BINARY
+	#define O_BINARY        0
+	#endif
+
 #endif
+
+#endif  /* __W3D_TYPES_H */
 
-#endif  // __TYPES_HEADER_INLUDE__

<p><p>1.1                  w3d/README.win32

Index: README.win32
===================================================================
The win32 directory contains 3 projects (*.dsp) and a
workspace (tarkin.dsw). One must load the tarkin.dsw
file in VC6++.

The main project is the "tarkin_lib" project which
outputs an static lib that is linked by the other 2
projects "test_enc" and "test_dec" in win32 console
applications. 

One must be sure that the OGG project resides in the
same directory as W3D and then it should compile right
away. There are no other directory dependencies.

The DEBUG application outputs a lot of PGM files
because of the DBG_XFORM define. The RELEASE do not
output these files.

Regards,
 Attila

Kondoros Attila <cookieman_k at yahoo.com>

<p><p><p><p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list