diff options
author | John Koleszar <jkoleszar@google.com> | 2010-05-20 14:44:18 -0400 |
---|---|---|
committer | John Koleszar <jkoleszar@google.com> | 2010-05-21 05:53:48 -0400 |
commit | 1df0314e7b55b96ec56dd47baac68d06deff5491 (patch) | |
tree | 26e3f26006dd10a83cbaee40600f4bf8dcdea934 /ivfenc.c | |
parent | 6e12cc9411d5476adc820315492ab9e175c70727 (diff) | |
download | libvpx-1df0314e7b55b96ec56dd47baac68d06deff5491.tar libvpx-1df0314e7b55b96ec56dd47baac68d06deff5491.tar.gz libvpx-1df0314e7b55b96ec56dd47baac68d06deff5491.tar.bz2 libvpx-1df0314e7b55b96ec56dd47baac68d06deff5491.zip |
configure: remove HAVE_CONFIG_H
This doesn't play well with autotools, and the preprocessor magic is
confusing and unhelpful in the vp8-only context.
Change-Id: I2fcb57e6eb7876ecb58509da608dc21f26077ff1
Diffstat (limited to 'ivfenc.c')
-rw-r--r-- | ivfenc.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -11,7 +11,11 @@ /* This is a simple program that encodes YV12 files and generates ivf * files using the new interface. */ -#define USE_POSIX_MMAP HAVE_SYS_MMAN_H +#if defined(_MSC_VER) +#define USE_POSIX_MMAP 0 +#else +#define USE_POSIX_MMAP 1 +#endif #include <stdio.h> #include <stdlib.h> @@ -25,9 +29,7 @@ #include <fcntl.h> #include <unistd.h> #endif -#if CONFIG_VP8_ENCODER #include "vp8cx.h" -#endif #include "vpx_ports/mem_ops.h" #include "vpx_ports/vpx_timer.h" |