Changeset 211
- Timestamp:
- 02/09/08 19:28:36
(7 months ago)
- Author:
- sip
- Message:
Fixed x64 compilation
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r145 |
r211 |
|
| 1 | | CFLAGS=-g -O0 |
|---|
| 2 | | LDFLAGS=`ptlib-config --libs` |
|---|
| | 1 | CXXFLAGS=-g -O3 -fPIC -DPIC |
|---|
| | 2 | LDFLAGS=`ptlib-config --libs` -fPIC |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | all: libh324m test |
|---|
| r210 |
r211 |
|
| 51 | 51 | { |
|---|
| 52 | 52 | char name[256]; |
|---|
| 53 | | sprintf(name,"/tmp/h245_out_%x.log",(unsigned int)this); |
|---|
| | 53 | sprintf(name,"/tmp/h245_out_%p.log",this); |
|---|
| 54 | 54 | int fd = open(name,O_CREAT|O_WRONLY|O_APPEND, S_IRUSR | S_IWUSR ); |
|---|
| 55 | 55 | if (fd!=-1) |
|---|
| … | … | |
| 122 | 122 | { |
|---|
| 123 | 123 | char name[256]; |
|---|
| 124 | | sprintf(name,"/tmp/h245_%x.log",(unsigned int)this); |
|---|
| | 124 | sprintf(name,"/tmp/h245_%p.log",this); |
|---|
| 125 | 125 | int fd = open(name,O_CREAT|O_WRONLY|O_APPEND, S_IRUSR | S_IWUSR ); |
|---|
| 126 | 126 | if (fd!=-1) |
|---|
| … | … | |
| 185 | 185 | { |
|---|
| 186 | 186 | char name[256]; |
|---|
| 187 | | sprintf(name,"/tmp/media_%x.raw",(unsigned int)this); |
|---|
| | 187 | sprintf(name,"/tmp/media_%p.raw",this); |
|---|
| 188 | 188 | int fd = open(name,O_CREAT|O_WRONLY|O_APPEND, S_IRUSR | S_IWUSR ); |
|---|
| 189 | 189 | if (fd!=-1) |
|---|
| … | … | |
| 200 | 200 | { |
|---|
| 201 | 201 | char name[256]; |
|---|
| 202 | | sprintf(name,"/tmp/h223_in_%x.raw",(unsigned int)this); |
|---|
| | 202 | sprintf(name,"/tmp/h223_in_%p.raw",this); |
|---|
| 203 | 203 | int fd = open(name,O_CREAT|O_WRONLY|O_APPEND, S_IRUSR | S_IWUSR ); |
|---|
| 204 | 204 | if (fd!=-1) |
|---|
| … | … | |
| 215 | 215 | { |
|---|
| 216 | 216 | char name[256]; |
|---|
| 217 | | sprintf(name,"/tmp/h223_out_%x.raw",(unsigned int)this); |
|---|
| | 217 | sprintf(name,"/tmp/h223_out_%p.raw",this); |
|---|
| 218 | 218 | int fd = open(name,O_CREAT|O_WRONLY|O_APPEND, S_IRUSR | S_IWUSR ); |
|---|
| 219 | 219 | if (fd!=-1) |
|---|
| r198 |
r211 |
|
| 26 | 26 | { |
|---|
| 27 | 27 | //Initialize seed |
|---|
| 28 | | srand((unsigned)this); |
|---|
| | 28 | srand(time(NULL)); |
|---|
| 29 | 29 | |
|---|
| 30 | 30 | //Set initial values |
|---|
Download in other formats:
|
|